WdProtectionType enumeration (Word)
Specifies the type of protection applied to the current document.
Name | Value | Description |
---|---|---|
wdAllowOnlyComments | 1 | Allow only comments to be added to the document. |
wdAllowOnlyFormFields | 2 | Allow content to be added to the document only through form fields. |
wdAllowOnlyReading | 3 | Allow read-only access to the document. |
wdAllowOnlyRevisions | 0 | Allow only revisions to be made to existing content. |
wdNoProtection | -1 | Do not apply protection to the document. |
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.