Outline Property

Microsoft Excel Visual Basic

Returns an Outline object that represents the outline for the specified worksheet. Read-only.

Example

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

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