Workbook.ActiveSlicer Property

 

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

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

Slicer ActiveSlicer { get; }

Property Value

Type: Microsoft.Office.Interop.Excel.Slicer

A Slicer that represents the active slicer in the active workbook or in the specified workbook.

Exception Condition
MissingMemberException

This property is used in an Excel 2007 project.

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

System_CAPS_noteNote

This property appears in IntelliSense in Excel 2007 projects that target the .NET Framework 4. However, this property cannot be used in Excel 2007 projects.

Return to top
Show: