Selection.ClearFormatting Method
Word Developer Reference |
Removes text and paragraph formatting from a selection.
Syntax
expression.ClearFormatting
expression A variable that represents a Selection object.
Example
This example removes all text and paragraph formatting from the active document.
Visual Basic for Applications |
---|
|
This example removes all text and paragraph formatting from the second through the fourth paragraphs of the active document.
Visual Basic for Applications |
---|
|
See Also