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

Free Support Forum - aspose.com

Export to html

Here is code sample:

var workbook = new Workbook(“Report.xlsx”);
var htmlSaveOptions = new HtmlSaveOptions
HiddenColDisplayType = HtmlHiddenColDisplayType.Remove,
ImageOptions =
ImageFormat = ImageFormat.Png
workbook.Save(“test.html”, htmlSaveOptions);

Result html contains a lot unnecessary tags like this:

Id index varies from r13 to r101
I think, it is caused by hidden column inside excel file, which has data up to 100 row.


Thanks for your posting and using Aspose.Cells.

We were able to observe this issue as mentioned by you by executing your code with the latest version. There are some unnecessary tags that should be removed from the output html.

We have logged this issue in our database for investigation. We will look into it and fix this issue if feasible. Once there is some fix or other update for you, we will let you know asap.

This issue has been logged as

  • CELLSNET-44103 - Result html contains a lot unnecessary tags


Thanks for using Aspose.Cells.

We have evaluated your issue further. We are afraid, in order to keep the compatibility with all the Browsers type, we can’t merge the

tags. So we will not fix your issue.

Thanks for your understanding and we are sorry for any inconvenience caused!