Delete Pivot Table from a Worksheet with Golang via C++
Contents
[
Hide
]
Aspose.Cells provides a feature to delete or remove a pivot table from a worksheet. You can delete the pivot table using a pivot table object or its position. Please use the Worksheet.PivotTables.Remove() method to delete a pivot table using the pivot table object and the Worksheet.PivotTables.RemoveAt() method to delete a pivot table using its position inside the pivot table collection.
The following sample code deletes two pivot tables from the worksheet. First, it removes a pivot table using the Worksheet.PivotTables.Remove() method, and then it removes a pivot table using the Worksheet.PivotTables.RemoveAt() method.