PivotTable.ClearTable 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.
The ClearTable() method is used for clearing a PivotTable. Clearing PivotTables includes removing all the fields and deleting all filtering and sorting applied to the PivotTables. This method resets the PivotTable to the state it had right after it was created, before any fields were added to it.
public:
void ClearTable();
public void ClearTable ();
Public Sub ClearTable ()
Remarks
The ClearTable() function takes no arguments and is available for both relational and OLAP PivotTables.