編輯

共用方式為


_Workbook.ActiveSlicer Property

Definition

Gets an object that represents the active slicer in the active workbook or in the specified workbook.

public:
 property Microsoft::Office::Interop::Excel::Slicer ^ ActiveSlicer { Microsoft::Office::Interop::Excel::Slicer ^ get(); };
public Microsoft.Office.Interop.Excel.Slicer ActiveSlicer { get; }
Public ReadOnly Property ActiveSlicer As Slicer

Property Value

An object that represents the active slicer in the active workbook or in the specified workbook.

Remarks

Returns a null reference (Nothing in Visual Basic) if no slicer is active.

Read-only.

If you do not specify a Workbook object, this property returns the active slicer in the active workbook.

Applies to