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.
|