Hi,
When we convert an xls file to xlsm the display of the pivot table change.
Please see attachments.
Code:
m_workbook = new Workbook("....xls");m_workbook.Save("....xlsm");Thanks for your helpBest regards
Hi,
When we convert an xls file to xlsm the display of the pivot table change.
Please see attachments.
Code:
m_workbook = new Workbook("....xls");m_workbook.Save("....xlsm");Thanks for your helpBest regards
Hi,
Thanks for your posting and using Aspose.Cells.
We were able to observe this issue using the following code with your given source file as you have shown it in your screenshot. We have tested it with the latest version: Aspose.Cells for .NET 7.7.1 but the problem still persists.
We have logged this issue in our database. We will look into it and fix this issue. Once, the issue is resolved or we have some other update for you, we will let you know asap.
This issue has been logged as CELLSNET-42300.
C#
Hi,
Please download and try our latest version/fix: Aspose.Cells for .NET v7.7.1.2
We have fixed your issue. See the sample codes as follows:
e.g.
Sample code:
Workbook wb = new Workbook(@"D:\convert_example.xls");
wb.Worksheets[0].PivotTables[0].CalculateData();
wb.Worksheets[0].PivotTables[0].RefreshDataOnOpeningFile = true;
wb.Save(@"D:\convert_example_out.xlsm");
Let us know your feedback.
Thank you.
Hi,
I will try it, is it this 7.7.1 version in the current release of aspose total ?
Thanks
Hi,
Works Fine, just need a refresh but it's OK for us.
Thanks
Hi,
Thanks for your feedback and using Aspose.Cells.
It is good to know that your issue is fixed now. Let us know if you encounter any other issue. We will be glad to look into it and help you further.
The issues you have found earlier (filed as CELLSNET-42300) have been fixed in this update.