View Single Post
 
Old 11-13-2017, 08:46 AM
gunner359 gunner359 is offline Windows 10 Office 2016
Novice
 
Join Date: Oct 2017
Posts: 6
gunner359 is on a distinguished road
Default

Instead of using Selection as the required expression, use a range object, i.e.,
Dim rngDoc as Range
...
Set rngDoc = ActiveDocument.Words(1)
i = rngDoc.MoveUntil(Cset:="+", Count:=wdBackward)

Seems like ActiveDocument.Words(1) would eliminate Comments in its Range.
Reply With Quote