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.
 
Top