Muokkaa

Jaa


Range.AutoFormat method (Word)

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

Syntax

expression. AutoFormat

expression Required. A variable that represents a Range object.

Example

This example automatically formats the selection.

Selection.Range.AutoFormat

See also

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