A
avkokin
Hello. The Dialog Box of "Find and Replace" (Tab "Find") including the
field with the text "Highlight all items found in...". I need to
select all found words with help macro but I not know how I do it. I
wrote code of searching and highlighting next item but not all items:
With Selection.Find
.ClearFormatting
.Text = Selection.Text
.Replacement.ClearFormatting
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchAllWordForms = False
.Execute
End With
How highlighting all found items? Thank you very much.
field with the text "Highlight all items found in...". I need to
select all found words with help macro but I not know how I do it. I
wrote code of searching and highlighting next item but not all items:
With Selection.Find
.ClearFormatting
.Text = Selection.Text
.Replacement.ClearFormatting
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchAllWordForms = False
.Execute
End With
How highlighting all found items? Thank you very much.