FieldShading Property

WdFieldShading

WdFieldShading can be one of these WdFieldShading constants.
wdFieldShadingAlways
wdFieldShadingNever
wdFieldShadingWhenSelected

expression.FieldShading

expression Required. An expression that returns one of the objects in the Applies To list.

Example

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

ActiveDocument.ActiveWindow.View.FieldShading = _
    wdFieldShadingAlways

Applies to | View Object

See Also | ProtectedForForms Property | Shaded Property | Shading Property