ShowFormatError Property

Microsoft Word Visual Basic

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