Outline.AutomaticStyles property (Excel)

True if the outline uses automatic styles. Read/write Boolean.

Syntax

expression.AutomaticStyles

expression A variable that represents an Outline object.

Example

This example sets the outline on Sheet1 to use automatic styles.

Worksheets("Sheet1").Outline.AutomaticStyles = True

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.