Removing protection, multiple documents

J

joshuasq

I am trying to remove the password from multiple documents in or to
edit content. There is not a password to open the file just a
password to unprotect it (it is protected to allow form entry).

The password is known and is the same for all files in the folder.

Any help would be appreciated, thank you.

Josh
 
J

Jean-Guy Marcil

I am trying to remove the password from multiple documents in or to
edit content. There is not a password to open the file just a
password to unprotect it (it is protected to allow form entry).

The password is known and is the same for all files in the folder.

Any help would be appreciated, thank you.

See
http://word.mvps.org/faqs/macrosvba/BatchFR.htm

Then replace all the code that has to do with Find/Replace, i.e. the code
between
If FirstLoop
to its
End If
(In the second example)

by:

mydoc.Unprotect "MyPassword"
 

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