Outline Object

See Also                  Properties         Methods        

Workbooks collection (Workbook object)
Worksheets collection (Worksheet object)
Outline object

Represents an outline on a worksheet.

Using the Outline Object

Use the Outline property to return an Outline object. The following example sets the outline on Sheet4 so that only the first outline level is shown.

Worksheets("sheet4").Outline.ShowLevels 1