Range.FormattedText Property (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.

Returns or sets a Range object that includes the formatted text in the specified range or selection. Read/write.

expression .FormattedText

expression A variable that represents a Range object.

This property returns a Range object with the character formatting and text from the specified range or selection. Paragraph formatting is included in the Range object if there is a paragraph mark in the range or selection.

When you set this property, the text in the range is replaced with formatted text. If you do not want to replace the existing text, use the Collapse method before using this property (see the first example).

Concepts

Other resources

Show: