After the line
add the lineoRng.Paragraphs(1).Range.HighlightColorIndex = wdYellow
oRng.Comments.Add oRng, "This is the text of your comment"
After the line
add the lineoRng.Paragraphs(1).Range.HighlightColorIndex = wdYellow
oRng.Comments.Add oRng, "This is the text of your comment"
Graham Mayor - MS MVP (Word) 2002-2019
Visit my web site for more programming tips and ready made processes
http://www.gmayor.com