C
cyberdude
Hi,
I would like to write a Word VBA macro to find all the words appearing
in red. Here is part of the code:
Sub test1()
Selection.Find.Font.Color = wdColorRed
Selection.Find.Execute
MsgBox (Selection.Text)
End Sub
But it can't find ALL such words but only the first encounter of such
a word. Can you tell me the rest of the code that makes it search
throughout the document? Thanks.
Mike
I would like to write a Word VBA macro to find all the words appearing
in red. Here is part of the code:
Sub test1()
Selection.Find.Font.Color = wdColorRed
Selection.Find.Execute
MsgBox (Selection.Text)
End Sub
But it can't find ALL such words but only the first encounter of such
a word. Can you tell me the rest of the code that makes it search
throughout the document? Thanks.
Mike