View Single Post
 
Old 10-08-2019, 03:00 AM
lerxx lerxx is offline Windows 10 Office 2013
Novice
 
Join Date: Oct 2019
Posts: 2
lerxx is on a distinguished road
Default VBA protect header and using formfields

Hello,

i have protected my header of the document with the following code:

ActiveDocument.Sections(1).ProtectedForForms = True
ActiveDocument.Sections(2).ProtectedForForms = False
ActiveDocument.Protect Type:=wdAllowOnlyFormFields, Password:="password"

Now I would like to use "FormFields" in the header but I cant change the value of them. In detail, I would like to use a ContentControlListEntry.



Thanks in advance!
Reply With Quote