Find command

T

troubadour

Does this command return a code that i could test (such as a boolean
found/not found) ?
Selection.Find.Execute
(i would like the program to stop if the string i search is not found)
Or is it an option of the "with" statement ?

Troubadour
 
H

Helmut Weber

Hi,
if .execute then
msgbox "found"
else
msgbox "not found"
end if


Greetings from Bavaria, Germany

Helmut Weber, MVP, WordVBA

Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"
 

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