The following source code generates three files in format xls, xlsb and xlsx.
Only the xls file can be opened in Excel 2007 without any problems.
When I try to open the xlsx or the xlsb file, I get the error “Excel found unreadable content”, which is caused by an duplicate sharedItems entry “” in “xl\pivotCache\pivotCacheDefinition1.xml”.…
After changing the value in cell “A3” from 1.000000000000001d to 1.00000000000001d, all generated files are correct. The corresponding sharedItems entry:
SOURCE CODE:
var wb = new Workbook();
var wsData = wb.Worksheets[0]; wsData.Name = “Data”;
We were able to observe this issue after executing your sample code with the generated XLSX and XLSB files. However, XLS file works fine. We tested it with the latest version: Aspose.Cells for .NET 8.2.2. However, when one 0 is removed from 1.000000000000001d it works fine.
We have logged these issues in our database for investigation. We will look into it and fix these issues. Once, these issues are resolved or we have some other update for you, we will let you know asap.
These issues have been logged as
CELLSNET-43109 - Error “Excel found unreadable content” caused by pivotfield (double) in XLSX output
CELLSNET-43110 - Error “Excel found unreadable content” caused by pivotfield (double) in XLSB output
I have also attached the output Excel files for a reference
It is good to know that your issue is resolved with the latest fix. Let us know if you encounter any other issue, we will be glad to look into it and help you further.