expression.FormatScanning
expression Required. An expression that returns an Options object.
Remarks
Enabling the FormatScanning property allows you to identify all unique formatting in your document, so you can easily apply the same formatting to new text and quickly replace or modify all instances of a given formatting within a document.
Example
This example enables Word to keep track of formatting in documents but disables displaying a squiggly underline beneath text formatted similarly to other formatting that is used more frequently in a document.
Sub ShowFormatErrors()
With Options
.FormatScanning = True
.ShowFormatError = False 'Disables displaying squiggly underline
End With
End Sub