View Single Post
 
Old 07-14-2015, 01:36 AM
gmayor's Avatar
gmayor gmayor is offline Windows 7 64bit Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,137
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

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
Reply With Quote