View Single Post
 
Old 04-24-2013, 11:34 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,375
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

Why do you need a macro? A wildcard Find/Replace can do the same job, where:
Find = xxx(*)yyy
Replace = \1
and the replacement attributes have the desired highlighting set.

Note: the above even deletes the markers as part of the process. If you don't want that, change \1 to ^&.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote