View.FieldShading Property

Word Developer Reference

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.

Visual Basic for Applications
  ActiveDocument.ActiveWindow.View.FieldShading = _
    wdFieldShadingAlways

See Also