How to Add Password to All the Word Documents Using Macro

Date:2019-7-22 Author:Cordelia

You may already know how to add password to a document. But if you tend to encrypt all the Word documents on your computer for the safety of information, you can only repeat the same operation to add password to each of them by normal means. In fact, you can do all these work at once with Macros.

Switch to View tab, click Macros and choose Record Macro… to record a series of your operations.

How to Add Password to All the Word Documents Using Macro

Input a Macro name for identifying, and Store macro in All Documents (Normal.dotm). Then you can feel free to typing a paragraph of Description or not.

How to Add Password to All the Word Documents Using Macro

Click OK to confirm the settings then it’s time to record your actions. Please don’t perform any operation superfluous in this process otherwise it will be recorded into the Macro as well.

Click FileInfoEncrypt with Password.

How to Add Password to All the Word Documents Using Macro

Input a password and reenter it for confirmation.

How to Add Password to All the Word Documents Using Macro

How to Add Password to All the Word Documents Using Macro

After setting the password, click Stop Recording in Macros. Then choose View Marcos and you can see the macro you just recorded is already in the list.

How to Add Password to All the Word Documents Using Macro

The macro will run automatically every time you close a document and Word asks if you “want to save any changes”. You should select Save to encrypt the document or you can click Don’t Save to quit without running the Macro.

How to Add Password to All the Word Documents Using Macro

If you choose Save, next time you open the file will see the popping out window requires you to enter the password.

How to Add Password to All the Word Documents Using Macro

Copyright Statement: Regarding all of the posts by this website, any copy or use shall get the written permission or authorization from Myofficetricks.

Leave a Reply

Your email address will not be published. Required fields are marked *