Automating search/replace within a block

J

John Doue

Hi,

At the end of a macro automating the search/replace within a block, how
do I answer no to the dialog box asking if I want to search the
remainder of the document? Recorder does not record my answer.

Sorry, it must be basic, but cannot find the answer.

thanks
 
H

Helmut Weber

Hi John,

it is the wrap-property of the find-object.

.Wrap =wdFindStop

--

Greetings from Bavaria, Germany

Helmut Weber, MVP WordVBA

Vista Small Business, Office XP
 

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