![]() |
|
|
|
#1
|
||||
|
||||
|
See your other post for a possible workaround.
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
|
#2
|
|||
|
|||
|
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. |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Close Document Without Saving Prompt
|
Joe528 | Word | 3 | 10-08-2021 06:12 PM |
Looking for ideas for a foolproof password-protected template/document
|
Sarcas | Word | 2 | 09-11-2019 01:21 AM |
| VBA Macro to Open password protected Word Documents | gennylk | Word VBA | 2 | 01-11-2018 11:03 PM |
Macro to Unprotect password protected document
|
pooklet | Word | 2 | 12-08-2014 01:32 AM |
| How to open a password-protected word document? | navalava | Word | 1 | 07-01-2012 12:15 PM |