Hi Eddie,
With Selection.Find.Font
.Color = Not(wdColorRed)
End With
With Selection.Find.Font
.Color <> wdColorRed
End With
That won't work, I'm afraid. In your case, I'd probably try to figure out
all the "highlighting" that has been used (bold, italic, highlighted,
color=red, ...) and search for that. Assuming that bold, italic,
highlighted, color=red .... haven't been used in the styles, that is.
To find (or tag) arbitrary manual formatting will be more difficult.
The way I do it is to make a copy of the document where all paragraph styles
look like Normal style:
myStyle.Font = ActiveDocument.Styles(wdStyleNormal).Font
myStyle.ParagraphFormat =
ActiveDocument.Styles(wdStyleNormal).ParagraphFormat
For character styles:
myStyle.Font = ActiveDocument.Styles(wdStyleNormal).Font
A document that originally was formatted wholly with character styles and
paragraph styles will now look like plain unformatted text with those style
definitions.
Any remaining formatting that is still applied (italic, bold, space before,
....) has been applied manually.
You'll still need to search for all kinds of formatting separately, but at
least you won't match bold headings when searching for bold, and so on.
Greetings,
Klaus