Outline Property [Excel 2003 VBA Language Reference]

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

Applies to | Worksheet Object