Re: "Excel found unreadbale" when using "Xlsx" format option

We are having the same issue.

Just open an xltx file and save it as SaveFormat.Xltx. Microsoft excel will not be able to open the file.

Hi Craig,

Thanks for your posting and using Aspose.Cells.

Please download and use the latest version: Aspose.Cells
for .NET v8.0.2.3
it works fine and does not exhibit such an issue.

I have tested it with the following code and it worked fine. The output xltx (out.xltx) file opens fine in MS-Excel.

I have attached both source (book1.xltx) and output (out.xltx) files for your reference. Please remove .txt extensions from them.

C#


string filePath = @“F:\Shak-Data-RW\Downloads\Book1.xltx”;


Workbook workbook = new Workbook(filePath);

workbook.Save(“out.xltx”, SaveFormat.Xltx);