hi, i have been experiencing a few problems when trying to manipulate an excel template with a pivot table.
when i remove a column through worksheet.Cells.DeleteColumn(int) the pivot table’s data source range does not get updated to reflect the shifted columns.
when i rename a worksheet which is related to a pivot table the source for PivotCharts do not update, however PivotTables do. in the result file you will notice that the table’s values reflect the first tab, but the bar chart shows the values left over from the template and will not update.
i have attached a code sample with template and result that should demonstrate both of these issues. i am using cells v7.1.1.0
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.