ShowFormatError Property

Microsoft Word Visual Basic

ShowFormatError Property

       

True for Microsoft Word to mark inconsistencies in formatting by placing a squiggly underline beneath text formatted similarly to other formatting that is used more frequently in a document. Read/write Boolean.

expression.ShowFormatError

expression   Required. An expression that returns an Options object.

Example

This example enables Word to keep track of formatting in documents but does not display a squiggly underline beneath text.

Sub ShowFormatErrors()

    With Options
        .FormatScanning = True  'Enables keeping track of formatting
        .ShowFormatError = False
    End With

End Sub