Hi,
Excel shows value 2, but in Aspose.Cells value equals 0. If I change value with Excel and save, then Aspose.Cells will show correct value.
Workbook wb = new Workbook(fName);
foreach(Worksheet ws in wb.Worksheets)
{
foreach(PivotTable pt in ws.PivotTables)
{
try { pt.RefreshData(); }
catch { }
try { pt.CalculateData(); }
catch { }
try { pt.CalculateRange(); }
catch { }
printLine(“Indent”, pt.Indent.ToString(), SPACE2); // my inner printing method
}
}
I use Excel 2010 and Aspose.Cells v7.3.5.1.
Thanks,
Alex Shloma