Replace All in Protected Form

F

FormforSearching

Hello,
I have a directory full of completed Word forms and these are protected with
the padlock tool (from the forms toolbar). I need to do a replace all for
all the files in the directory to remove any quotation marks that may have
been used in any of the fields. I tried to do this with a macro but since
the find/replace feature is disabled when the form is protected it didn't
work.
Any help would be greatly appreciated.
Thanks!
Julie
 
J

Jay Freedman

Hello,
I have a directory full of completed Word forms and these are protected with
the padlock tool (from the forms toolbar). I need to do a replace all for
all the files in the directory to remove any quotation marks that may have
been used in any of the fields. I tried to do this with a macro but since
the find/replace feature is disabled when the form is protected it didn't
work.
Any help would be greatly appreciated.
Thanks!
Julie

The key to make this work is to unprotect each document after it's opened; do
the replacements, and then reprotect the document.

See http://www.word.mvps.org/FAQs/MacrosVBA/BatchFR.htm for a macro that already
does what you're trying to do.
 

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