Automatically creates an outline for the specified range. If the range is a single cell, Microsoft Excel creates an outline for the entire sheet. The new outline replaces any existing outline.
Syntax
expression.AutoOutline
expression Required. An expression that returns a Range object.