SlicerPivotTables.AddPivotTable(PivotTable) Method
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.
Adds a reference to a PivotTable to the SlicerPivotTables collection.
public:
void AddPivotTable(Microsoft::Office::Interop::Excel::PivotTable ^ PivotTable);
public void AddPivotTable (Microsoft.Office.Interop.Excel.PivotTable PivotTable);
Parameters
- PivotTable
- PivotTable
A PivotTable object that represents the PivotTable to add.
Remarks
When a PivotTable is added to the SlicerPivotTables collection, it can be filtered by its parent SlicerCache and the slicers associated with it.