• Marcel Venema

Remove password from Word document

Last week my wife asked me if I could help her with a Microsoft Word problem. The company she works for has about 8.000 Word documents, and most of them are protected with the same password. For an ERP implementation all article numbers in those documents must be replaced with new article numbers.


The ERP consultants said that the password must be removed manually from all 8.000 documents. It could not be done automatically. My wife and her colleagues in distress, the idea of removing the password manually for all 8.000 documents seemed not a very good idea.


My wife asked for my help and I wrote a small script to remove the password automatically. The script asks for a password and then opens all documents in the script folder and removes the password. The documents are then saved with a .PWDREMOVED.docx extension.



Finally, a word to the ERP consultants, a thank you cake or chocolate box for my wife is highly appreciated….


© 2018 MarcelVenema.com. All rights reserved.

SUBSCRIBE VIA EMAIL

  • Black LinkedIn Icon