Find and Replace dialog box

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!!!
 
S

Suzanne S. Barnhill

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.
 
G

Graham Mayor

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


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
I

Island Girl

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
 
I

Island Girl

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


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
G

Graham Mayor

You are welcome :)

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


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top