ApplyOutlineStyles Method [Excel 2003 VBA Language Reference]

Applies outlining styles to the specified range.

expression**.ApplyOutlineStyles**

expression Required. An expression that returns a 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

Applies to | Range Collection

See Also | AutoOutline Method | ClearOutline Method | DisplayOutline Property | Group Method | Outline Object | OutlineLevel Property | ShowDetail Property