Replacement.ClearFormatting Method
Word Developer Reference |
Removes text and paragraph formatting from the text specified in a replace operation.
Syntax
expression.ClearFormatting
expression A variable that represents a Replacement object.
Example
This example clears formatting from the find or replace criteria before replacing the word "Inc." with "incorporated" throughout the active document.
Visual Basic for Applications |
---|
|
See Also