Share via


Outline.ShowLevels Method

Displays the specified number of row and/or column levels of an outline.

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

Syntax

'Declaration
Function ShowLevels ( _
    RowLevels As Object, _
    ColumnLevels As Object _
) As Object
'Usage
Dim instance As Outline
Dim RowLevels As Object
Dim ColumnLevels As Object
Dim returnValue As Object

returnValue = instance.ShowLevels(RowLevels, _
    ColumnLevels)
Object ShowLevels(
    Object RowLevels,
    Object ColumnLevels
)

Parameters

  • RowLevels
    Type: System.Object

    Optional Object. Specifies the number of row levels of an outline to display. If the outline has fewer levels than the number specified, Microsoft Excel displays all the levels. If this argument is 0 (zero) or is omitted, no action is taken on rows.

  • ColumnLevels
    Type: System.Object

    Optional Object. Specifies the number of column levels of an outline to display. If the outline has fewer levels than the number specified, Microsoft Excel displays all the levels. If this argument is 0 (zero) or is omitted, no action is taken on columns.

Return Value

Type: System.Object

Remarks

You must specify at least one argument.

See Also

Reference

Outline Interface

Outline Members

Microsoft.Office.Interop.Excel Namespace