Unable/disable document protection

K

keithb

How can I use VBA to enable/disable document protection for a section of a
protected document?
Thanks,

Keith
 
W

Word Heretic

G'day "keithb" <[email protected]>,

ActiveDocument.Protect wdAllowOnlyFormFields,false

turns on protection, each section with

ActiveDocument.Sections(1).ProtectedForForms = True

will then be protected

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


keithb reckoned:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top