Range.ApplyOutlineStyles Method (Excel)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Applies outlining styles to the specified range.

expression .ApplyOutlineStyles

expression A variable that represents a Range object.

Return Value

Variant

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

Selection.ApplyOutlineStyles

Concepts

Other resources

Show: