View Single Post
 
Old 12-01-2011, 09:44 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

Quote:
Originally Posted by jovani View Post
I love that script MacroPod.
Is there a way to tweak it to highlight the different words being searched for in different colors. Doesn't matter which color.
So as to help spotting two different words on the same page?
You could do that, by inserting after:
For i = 0 To UBound(Split(StrFnd, ","))
then line:
Options.DefaultHighlightColorIndex = i Mod 16 + 1
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]

Last edited by macropod; 12-02-2011 at 04:10 AM. Reason: Added Mod function as ColorIndex only goes to 15
Reply With Quote