See attached sample: I call “Worksheet.RefreshPivotTables()”, which brings three problems:
AsposeCellsPivot.zip (26.3 KB)
Problem 1
In the source file, the filter for cell B6 is set to single select. After applying “R…...deep in code that writes sql query results to excel templates....into this issue with other queries, we can simply switch the pivot...