ApplyOutlineStyles Method

Applies To

Range object.

Description

Applies outlining styles to the specified range.

Syntax

expression.ApplyOutlineStyles

expression Required. An expression that returns a Range object.

See Also

AutoOutline method, ClearOutline method, DisplayOutline property, Group method, Outline object, OutlineLevel property, ShowDetail property, Ungroup method (Range object).

Example

The following example applies automatic outlining styles to the selection. The selection must include the entire outline range on a worksheet.

Selection.ApplyOutlineStyles