Hi ,
How can I highlight all the results of find query
when using content/selection.Find.

Re: highlight all when using Find by Dave

Dave
Mon Aug 09 08:13:14 CDT 2004

Hi SM,

Are you looking for something like the following:

''' set the color for highlighting
Options.DefaultHighlightColorIndex = wdGray25

With Selection
.HomeKey Unit:=wdStory
With .Find
.ClearFormatting
.Text = "Test"
With .Replacement
.ClearFormatting
.Highlight = True
End With
.Execute Replace:=wdReplaceAll
End With
End With

HTH,
Dave

"SM" <Software_Magician@hotmail.com> wrote in message
news:29e601c47e04$d1a7f1b0$a401280a@phx.gbl...
> Hi ,
> How can I highlight all the results of find query
> when using content/selection.Find.
>
>