Section.ProtectedForForms Property
Word Developer Reference |
True if the specified section is protected for forms. Read/write Boolean.
Syntax
expression.ProtectedForForms
expression An expression that returns a Section object.
Remarks
When a section is protected for forms, you can select and modify text only in form fields. To protect an entire document, use the Protect method of the Document object.
Example
This example turns on form protection for the second section in the active document.
Visual Basic for Applications |
---|
|
This example unprotects the first section in the selection.
Visual Basic for Applications |
---|
|
This example toggles the protection for the first section in the selection.
Visual Basic for Applications |
---|
|
See Also