FormFields.Shaded property (Word)
True if shading is applied to form fields. Read/write Boolean.
Syntax
expression. Shaded
expression An expression that returns a 'FormFields' collection object.
Remarks
Shading makes form fields easier to locate in a document and doesn't affect the printed output.
Example
This example removes shading from form fields in Employment Form.doc.
Documents("Employment Form.doc").FormFields.Shaded = False
This example adds shading to the form fields in the active document and protects the document for forms.
With ActiveDocument
.FormFields.Shaded = True
.Protect Type:=wdAllowOnlyFormFields, NoReset:=True
End With
See also
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for