Outline object (Excel)

Represents an outline on a worksheet.

Example

Use the Outline property of the Worksheet object 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

Methods

Properties

See also

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.