macro to find field code in multiple headers

B

bcecava

Hello,

I am trying to create a macro that does a find and replace on a field
code only in the header sections of a document. The document has
several diffenet header sections and I am trying to search for
variations of the PRINT code and replace it with blank (""). An
example of this is { PRINT 27 \p para \* MERGEFORMAT }. I used this
code .Text = "^d PRINT" to search for the field code and it seems to
work, but not through all the different header sections.

Thanks for any help.

Brian
 

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