FieldShading Property Example

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

ActiveDocument.ActiveWindow.View.FieldShading = _
    wdFieldShadingAlways