Share via


Range.ApplyOutlineStyles Method (Excel)

Applies outlining styles to the specified range.

Syntax

expression .ApplyOutlineStyles

expression A variable that represents a Range object.

Return Value

Variant

Example

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

Selection.ApplyOutlineStyles

See Also

Concepts

Range Object Members

Range Object