Share via


UnderlineValidationErrors Property

Returns a Boolean that represents whether Microsoft Word indicates validation errors by underlining the elements and displaying vertical lines in the left margin beside the elements that contain the errors.

expression.UnderlineValidationErrors

expression Required. An expression that returns an XMLSchemaReferences collection.

Example

The following example disables showing validation errors in the active document.

ActiveDocument.XMLSchemaReferences _
    .UnderlineValidationErrors = False

Applies to | XMLSchemaReferences Collection