how to change information in the footer of the protected document

Z

Ziggy

I have created the form in which I require to change some information in the footer after applying protection for form. If I will use unprotect / protect I am loosing information entered into the form. How I can do it

Regards

Zigg
 
P

Peter Hewett

Hi Ziggy

The code you have is probably something like:
ActiveDocument.Protect wdAllowOnlyFormFields

The Protect method can take an additional argument:
ActiveDocument.Protect wdAllowOnlyFormFields, True

This causes Word not to reset the FormFields.

HTH + Cheers - Peter
 

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