We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Conversion Excel to HTML - changes in new version of library


We updated Aspose.Cells from 21.9 to 21.12 and faced with some difference in generated HTML from Excel.

Case1: image.png (20.3 KB)
example file: case 1.zip (545.6 KB)

case 2: image.png (34.7 KB)
example file: case 2.zip (489.1 KB)


Please try the following sample code with your files using the attached latest fix/version, it should get similar results as produced by previous versions:
Sample code:

Workbook wb = new Workbook(“e:\test2\case 1.xlsx”);
var opt = new Aspose.Cells.HtmlSaveOptions
ExportHiddenWorksheet = false,
HtmlCrossStringType = HtmlCrossType.CrossHideRight,
HiddenColDisplayType = HtmlHiddenColDisplayType.Remove,
HiddenRowDisplayType = HtmlHiddenRowDisplayType.Remove,
ExportImagesAsBase64 = true

wb.Save(“e:\test2\out1.html”, opt);

Aspose.Cells for .NET v21.12.6:
Aspose.Cells21.12.6 For .Net2_AuthenticodeSigned.Zip (5.6 MB)
Aspose.Cells21.12.6 For .Net4.0.Zip (5.6 MB)
Aspose.Cells21.12.6 For .NetStandard20.Zip (5.6 MB)

Let us know if you still have any issue.

Should I use attached lib? Or just can use 21.12 from nuget feed?

Yes, the attached library. The fix is not uploaded to Nuget repos.

Case 1 one is fixed.
Case 2 is not fixed.


Please notice, we have logged a ticket with an id “CELLSNET-50206” for your issue (regarding case2). We will investigate and look into the issue. We will get back to you soon with updates (once available) after we have analyzed your issue.


We evaluated your issue in details. We found it is not an issue with Aspose.Cells, so it won’t be fixed. If you save the source file manually to HTML in Excel, you can get the same result. see the screenshot (attached).
Screenshot_1.png (25.5 KB)