Share via


Range.AutoOutline Method

Automatically creates an outline for the specified range.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Function AutoOutline As Object
'Usage
Dim instance As Range
Dim returnValue As Object

returnValue = instance.AutoOutline()
Object AutoOutline()

Return Value

Type: System.Object

Remarks

If the range is a single cell, Microsoft Excel creates an outline for the entire sheet. The new outline replaces any existing outline.

See Also

Reference

Range Interface

Range Members

Microsoft.Office.Interop.Excel Namespace