Hi,
I have excel sheet programatically generated. Now i want to delete first row from excel sheet.where some columns of the row to delete are part of PIVOT table. so throwing exceptions while deleting saying you can't delete columns included in PIVOT. please help me.
Pls find below exception message I am getting:
You cannot move a part of a PivotTable report, or insert worksheet cells, rows, or columns inside a PivotTable report. To insert worksheet cells, rows, or columns, first move the PivotTable report (with the PivotTable report selected, on the Options tab, in the Actions group, click Move PivotTable). To add, move, or remove cells within the report, do one of the following:
• Use the PivotTable Field List to add, move, or remove fields.
• Hide or group items in a row or column field.
• Modify the source data.