SlicerPivotTables.RemovePivotTable(Object) Method

Definition

Removes a reference to a PivotTable from the SlicerPivotTables collection.

public:
 void RemovePivotTable(System::Object ^ PivotTable);
public void RemovePivotTable (object PivotTable);
Public Sub RemovePivotTable (PivotTable As Object)

Parameters

PivotTable
Object

A PivotTable object that represents the PivotTable to remove, or the name or index of the PivotTable in the collection.

Remarks

When a PivotTable is removed from the SlicerPivotTables collection, is no longer filtered by its parent SlicerCache and the slicers associated with it.

Applies to