![]() |
|
|
|
#1
|
||||
|
||||
|
You really don't need a macro for this. A wildcard Find/Replace will do the job, where: Find = <[! ]@ly> Replace = ^& and the replacement format is set to your highlight colour. If you really want it as a macro, simply switch on the macro recorder and record a wildcard Find/Replace with the above parameters. PS: When posting code, please use the code tags. They're on the 'Go Advanced' tab.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
| Tags |
| find, highlight, suffix |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Find and highlight multiple words in MS Word document
|
AtaLoss | Word VBA | 37 | 09-22-2021 12:04 PM |
| How to find out the duplicates and highlight them? | Learner7 | Excel | 6 | 06-08-2017 06:04 AM |
How to make it highlight blocks of text (words) without highlighting extra space @end
|
seortm | Word | 3 | 03-30-2015 08:12 AM |
| Keyboard shortcut for 'not highlight' in 'Find'? | bertietheblue | Word | 0 | 05-02-2012 06:16 AM |
| find - reading highlight - highlight all / highlight doesn't stick when saved | bobk544 | Word | 3 | 04-15-2009 03:31 PM |