Selection.ClearCharacterAllFormatting Method

Word Developer Reference

Removes all character formatting (formatting applied either through character styles or manually applied formatting) from the selected text.

Syntax

expression.ClearCharacterAllFormatting

expression   An expression that returns a Selection object.

Remarks

This method removes all character formatting. If you need to removed formatting applied through character styles, use the ClearCharacterStyle method. To remove character formatting that the user has manually applied using Microsoft Office Word character formatting features, use the ClearCharacterDirectFormatting method.

Bb226157.vs_note(en-us,office.12).gif  Note
To remove paragraph formatting, see the ClearParagraphAllFormatting, ClearParagraphDirectFormatting, or ClearParagraphStyle method.

See Also