View Single Post
 
Old 09-19-2019, 02:13 PM
pbassett pbassett is offline Windows 7 64bit Office 2010 64bit
Novice
 
Join Date: Feb 2017
Posts: 6
pbassett is on a distinguished road
Default Can't Protect after making changes

My application removes certain sections from a Word template. That part works, but when I save this for the user the document is still unprotected after this statement:

Code:
ActiveDocument.Protect Type:=wdAllowOnlyFormFields, NoReset:=True
The only way to get the document back to the pre-unprotected state (drop-downs work, only form fields can be edited) is by the usual manually selecting Restrict Editing and then click Start Enforcing Protection. But I thought my Protect statement did that.
Reply With Quote