Delete Pivot Table from a Worksheet

Contents
[ ]

Example

The following sample code deletes two pivot tables from the worksheet. First, it removes the pivot table using Worksheet.getPivotTables().remove() method and then it removes the pivot table using Worksheet.getPivotTables().removeAt() method