Unreadable xls file when using AddCopy



I recently upgraded to newest Aspose.Cells verion (from version 3.x).
I’ve noticed that this version has some problem with AddCopy method with complex worksheets.
Version creates xls that cant be opened with Excel. Version 3.x was working fine.
My sample c# souce code:
Aspose.Cells.Workbook wbk=new Aspose.Cells.Workbook();

I attached sample Test.xls file I used in this example.


Please try this attached fix.


It is much better now. But there’s another problem I discovered (was fine in 3.x).
AddCopy method deals incorrectly at least with Indirect function.
Here’s how my sample indirect function looks in source worksheet:
Here’s how it looks on a worksheet created by AddCopy method - some extra semicolons that are causing #Ref errors.

My sample c# code:
Aspose.Cells.Workbook wbk=new Aspose.Cells.Workbook();

Test3.xls that I used is attached.


I fixed it in the attached version. Please try it.


The version you attached fixed problem I reported.
But unfortunately I have a new one (it was working fine in version
When I try to open the attached xls and save it using Aspose.Cells it crashes Excel.
Sample source code:
Aspose.Cells.Workbook wbk=new Aspose.Cells.Workbook();


Please try this attached version.