wdProtectionType

Specifies the type of protection applied to a document.

wdNoProtectionDo not apply any protection to this document (No Protection) (-1)
wdAllowOnlyRevisionsAllow only revisions to be made to existing content (Track Changes) (0)
wdAllowOnlyCommentsAllow only comments to be added to the document (Comments) (1)
wdAllowOnlyFormFieldsAllow content to be added to the document through form fields (Filling in Forms) (2)
wdAllowOnlyReading(Added in 2003) Allow read only access to the document (No changes Read Only) (3)

wdNoProtection
Do not apply any protection to this document (No Protection) (-1)
wdAllowOnlyRevisions
Allow only revisions to be made to existing content (Track Changes) (0)
wdAllowOnlyComments
Allow only comments to be added to the document (Comments) (1)
wdAllowOnlyFormFields
Allow content to be added to the document through form fields (Filling in Forms) (2)
wdAllowOnlyReading
(Added in 2003) Allow read only access to the document (No changes Read Only) (3)

REMARKS
* The wdNoProtection cannot be used in Word 2002 - seems to generate an error when passed to "gApplication.ActiveDocument.Protect(objprotectiontype)"

© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited Top