Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

_Workbook.ActiveSlicer Property

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

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

Slicer ActiveSlicer { get; }

Property Value

Type: Microsoft.Office.Interop.Excel.Slicer
An object that represents the active slicer in the active workbook or in the specified workbook.

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.

Show:
© 2015 Microsoft