AutomaticStyles Property

Microsoft Excel Visual Basic

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

Example

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

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