OutlineLevel Property

Applies To

Range object.

Description

Returns or sets the current outline level of the specified row or column. Read/write Variant.

Remarks

Level one is the outermost summary level.

See Also

ApplyOutlineStyles method, AutoOutline method, ClearOutline method, DisplayOutline property, EntireColumn property, EntireRow property, Group method, Outline object, ShowDetail property, Ungroup method (Range object).

Example

This example sets the outline level for row two on Sheet1.

Worksheets("Sheet1").Rows(2).OutlineLevel = 1