Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-08-2019, 03:00 AM
lerxx lerxx is offline VBA protect header and using formfields Windows 10 VBA protect header and using formfields Office 2013
Novice
VBA protect header and using formfields
 
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
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I un-protect docs I didn't protect? doctorduncan Word 4 05-30-2019 11:09 AM
How can I replace FormFields with text Keybraker Word VBA 4 05-05-2019 08:51 PM
Issue Using FormFields.Result boCash Word VBA 0 04-04-2017 12:54 PM
VBA protect header and using formfields Mailmerge and Formfields Liosis Mail Merge 4 03-07-2014 12:56 PM
VBA protect header and using formfields Protect header/ footer czsti Word VBA 1 08-14-2013 10:49 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:08 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft