![]() |
#4
|
||||
|
||||
![]()
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] |
Tags |
limit macro |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Thokkle | Word | 1 | 04-01-2012 06:46 PM |
How do you add to a selection list? | bryanarn | Excel | 2 | 03-05-2012 05:04 PM |
Macro to populate a text form field based on dropdown selection | koloa | Word | 0 | 10-20-2011 11:52 AM |
Limiting the times that it runs | hchbiker | PowerPoint | 0 | 02-09-2011 08:36 AM |
![]() |
cksm4 | Word VBA | 25 | 01-30-2011 11:44 PM |