Hi,
We are using the following code to refresh pivot table in the following 2 files, but it throws exception :
[Object reference not set to an instance of an object.] Stack trace below:
at ?.?.?(String ?, Worksheet ?)
at ?.?.?()
The pivot table is "PivotTable1" in worksheet "Customres". It is created using Aspose. The code we are using to refresh pivot table is :
pivotTable.RefreshData();
pivotTable.CalculateData();
Could you please take a look at both workbooks and let us know where the issue is ASAP please? If you need more information regarding this issue, please dont hesitate to let us know.
Regards
Bill