PDA

View Full Version : Protect a form document



amerc
06-02-2008, 07:35 AM
How to toggle the protection of a form when the document is created and unprotected.

fumei
06-02-2008, 11:19 AM
Could you rephrase the question? I am not exactly sure what you are asking.

amerc
06-02-2008, 12:31 PM
Hi fumei ... I meant to toggle the protection of a form (word document) automatically using a macro ... The protection is toggled manually using the FORM TOOL BAR ....

Finally I did some search on it and I found out how to do it. ... like :

If Doc.ProtectionType <> wdNoProtection _
Then
Doc.Unprotect

Thanks anyway.

fumei
06-02-2008, 02:39 PM
OK. Good.