oRng.Collapse 0 is the numeric equivalent of oRng.Collapse Direction:=wdCollapseEnd
(1 would be the equivalent of wdCollapseStart).
Collapse is used here to allow the search to restart from the end of the current found text range.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
|