Unprotect a document with a macro?
HI,
i am wondering if it is possible to create a macro that unprotects a protected document?
i understand that it is not possible to do this using the record new macro tool and simply clicking on it and saving the macro but i am wo9ndering if there is any code that can be manually put in to achieve this?
regards
How to hide the actual password in the macro?
This macro worked great for me as I want to be able to provide clients with the option of unprotecting a form should they need to make changes to contract terms. However, how do you prevent them from double clicking on the command button to see the underlying code, where the actual password is typed? Definitely don't want them to know the actual password. Thanks.
How to unprotect for tracked changes only
Hi -
In addition to my question above, does anyone have code that will not only unprotect the document, but ''re-protect'' it for tracked changes mode only? While I want to be client friendly and allow clients to make changes to terms, I also want the changes to be visible in tracked changes. Unfortunately, some clients have been known to sneak in changes and then sign the document without having us review their changes.
Since Word cannot allow two forms of a protection in a document, maybe there is code to allow this. Thank you.