Default values for Find

J

Jay

With the following code, if I don't set the values for MatchWildcards,
Wrap, etc, what are the default values? Are they the values used
during the last Find?

Do While Selection.Find.Execute(FindText:="Txt",
MatchWildcards:=False, Wrap:=wdFindContinue, Forward:=True)
'do something
Loop

From Help (Word 97 SR2), the parameters are MatchWildcards, MatchCase,
MatchWholeWord, MatchWildcards, MatchSoundsLike, MatchAllWordForms,
Forward, Wrap, Format. However, default values are not listed.
 
J

Jay

Thanks Tony. I've often seen people use a ResetFind() subroutine in
these forums, but wasn't sure if it applied to the .Execute method.
Now I know.

Best wishes,

Jay
 

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