View Single Post
 
Old 02-01-2023, 10:44 PM
elaineAda elaineAda is offline Windows XP Office 2010
Novice
 
Join Date: Mar 2019
Posts: 25
elaineAda is on a distinguished road
Default

Hi
This is not for a form but rather an editable word document.
I am trying to password protect the file, user need to click on 'edit content' to be able to use the file.
It works nicely if user save and exit the document. The file will also be password protected when the user next open the file.
However, if user exit the document without saving the file, the file will become not protected and encounter error message when the user next open the file.
One workaround method is to undo all changes and save the file, but i am not sure how to write the macro for undo changes.
Appreciate your help!
Thanks.
Attached Files
File Type: docm test 2Feb.docm (21.5 KB, 3 views)
Reply With Quote