View Single Post
 
Old 06-18-2012, 02:25 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi Ulodesk,

My intention in modifying your macro was not to change anything about how it worked, but only to show how it could be streamlined. Functionally, it's exactly the same as what you posted.

As also mentioned in my post, the 'continuation' behaviour is governed by the '.Wrap' property, which can Ask, Stop, or Continue. If you change '.Wrap = wdFindAsk' to '.Wrap = wdFindStop', then only the selected range will be processed - except that if nothing is selected then everything forward of the insertion point will be processed.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote