Selection.ClearCharacterAllFormatting Method (Word)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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

expression .ClearCharacterAllFormatting

expression An expression that returns a Selection object.

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 Note

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

Show: