Selection.ClearCharacterAllFormatting method (Word)

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 Word character formatting features, use the ClearCharacterDirectFormatting method.

Note

To remove paragraph formatting, see the ClearParagraphAllFormatting, ClearParagraphDirectFormatting, or ClearParagraphStyle method.

See also

Selection Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.