Find.ClearFormatting Method
Removes text and paragraph formatting from a selection or from the formatting specified in a find or replace operation.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Sub ClearFormatting
'Usage
Dim instance As Find
instance.ClearFormatting()
void ClearFormatting()
Remarks
To ensure that formatting isn't included as criteria in a find or replace operation, use this method before carrying out the operation.