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