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

Free Support Forum - aspose.com

Landray RDM 162729 Convert Effect

cells source code:
src.zip (1.6 KB)

origin excel:
项目一页纸管理(2021)-UED.xlsx.zip (260.7 KB)

converted deatil:
toHTML-Aspose_page-1.zip (17.1 KB)

image.png (232.3 KB)

image.png (299.6 KB)

It viewed too big in browser,please have a check.


I did test your scenario/case using your template file with Aspose.Cells for Java v22.3. I rendered HTML file, it works fine. I opened the output HTML into IE browser. But when I opened my output HTML into Google chrome, I noticed columns widths are expanded. Which browser type you are using?

There are many merged cells and formatted cells from the cell “BI5” to “XFD5” In Row 5.
Those cells should be exported to html, so the page is very wide.
There are two temp solutions:
1,Remove those cells in MS Excel
2,Set print area , then only export print area as the following:
HtmlSaveOptions saveOptions = new HtmlSaveOptions();