_Workbook.ActiveSlicer Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.