View.FieldShading property (Word)

Returns or sets on-screen shading for fields. Read/write WdFieldShading.

Syntax

expression. FieldShading

expression Required. A variable that represents a 'View' object.

Example

This example enables field shading for all form fields in the active window.

ActiveDocument.ActiveWindow.View.FieldShading = _ 
 wdFieldShadingAlways

See also

View Object

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.