I am using the Aspose Cells control in the attached example VS2010 project.
I have 2 sheets, the first being a data sheet and the second a pivot table of the data
In code, I am replacing the data in the data sheet and refreshing the pivot table to show the new data.
However when i do this, if I have a filter on the data in the pivot table sheet (in the template file there is a filter in PivotSheet Column B set to only show Pheonix items), this is lost when the newfile is created.
Is there a way to clear the data rows in the datasheet and refresh the pivot table but leave any filters that have been applied? I can do this in Excel but not in code?
Thanks
Martin