Find and Replace dialog box

  • Thread starter Thread starter Island Girl
  • Start date Start date
I

Island Girl

I know that somewhere in this group you have told us how to clear the Find
and Replace dialog box, but I can't find it. Every time I go into mine, the
last search info is still in it.

Could you please tell me one more time? Thanks for all you do!!!
 
I don't know of any way to "clear" it except to restart Word. And you can't
change the settings without running another Find.
 
You could use a macro which will reset the display, but not remove old
searches.

Sub ClearReplace()
With Selection.Find
.ClearFormatting
.Replacement.ClearFormatting
.Text = ""
.Replacement.Text = ""
.Forward = True
.MatchWildcards = False
.Wrap = wdFindContinue
.MatchWholeWord = False
.MatchSoundsLike = False
.MatchAllWordForms = False
.Format = False
.MatchCase = False
.Execute
End With
End Sub
http://www.gmayor.com/installing_macro.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Thanks so much, Suzanne!

Suzanne S. Barnhill said:
I don't know of any way to "clear" it except to restart Word. And you can't
change the settings without running another Find.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
 
Thanks, Graham, for your always helpful reply.

Graham Mayor said:
You could use a macro which will reset the display, but not remove old
searches.

Sub ClearReplace()
With Selection.Find
.ClearFormatting
.Replacement.ClearFormatting
.Text = ""
.Replacement.Text = ""
.Forward = True
.MatchWildcards = False
.Wrap = wdFindContinue
.MatchWholeWord = False
.MatchSoundsLike = False
.MatchAllWordForms = False
.Format = False
.MatchCase = False
.Execute
End With
End Sub
http://www.gmayor.com/installing_macro.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Back
Top