編輯

共用方式為


Outline.ShowLevels(Object, Object) Method

Definition

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

public object ShowLevels (object RowLevels, object ColumnLevels);
Public Function ShowLevels (Optional RowLevels As Object, Optional ColumnLevels As Object) As Object

Parameters

RowLevels
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
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.

Returns

Remarks

You must specify at least one argument.

Applies to