Range.AutoFormat 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.

Automatically formats a document. Use the Kind property to specify a document type.

expression .AutoFormat

expression Required. A variable that represents a Range object.

This example automatically formats the selection.

Selection.Range.AutoFormat

Concepts

Other resources

Show: