![]() |
|
|||||||
|
|
Thread Tools | Display Modes |
|
#2
|
||||
|
||||
|
For what you've described, you could use:
.Execute Replace:=wdReplaceOne instead of: .Execute Replace:=wdReplaceAll and: .Wrap = wdFindStop instead of: .Wrap = wdFindContinue Beyond that, you could apply an InRange test. See: https://www.msofficeforums.com/151477-post6.html
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
VBA Find&Replace all bold, itlaic, underlined and highlighted words/characters
|
Kalü | Word VBA | 22 | 04-24-2018 05:35 AM |
Find, select, and replace part of text with bold
|
paik1002 | Word VBA | 4 | 12-07-2015 11:24 PM |
Find-replace using part of what was found in the replacement text
|
paulkaye | Word | 3 | 12-22-2014 02:52 AM |
Find/Replace Wildcard Needed-Bold & Highlight
|
rsrasc | Word VBA | 3 | 11-11-2014 03:55 PM |
| find - reading highlight - highlight all / highlight doesn't stick when saved | bobk544 | Word | 3 | 04-15-2009 03:31 PM |