Free Support Forum -

Excel fails to convert to html

Excel xlsx File fails to convert to html (891.9 KB)

Here is the code:
Dim filename = “D14.xlsx”

Dim sourcefilepath = "C:\\" & filename

Dim targetfilepath = "C:\\" & filename

Dim workbook As Workbook = New Workbook(sourcefilepath)

Dim options As Aspose.Cells.HtmlSaveOptions = New Aspose.Cells.HtmlSaveOptions()

workbook.Save(targetfilepath & "-output.html", options)


Could you please elaborate a bit more. Are you facing any error or exception because on our end the conversion process keeps executing and is not finished after several minutes.

We have evaluated this issue further and observed that using MS Excel, this conversion is working fine and takes couple of seconds. However as using Aspose.Cells it takes around 10 minutes, therefore it is logged for investigation and a fix. You will be automatically notified once any update is ready to share.

This issue is logged as:
CELLSNET-47515 - Xlsx to Html conversion takes number of minutes while using Aspose.Cells


Please try our latest version/fix: Aspose.Cells for .NET v20.7.5:
Aspose.Cells20.7.5 For .Net2_AuthenticodeSigned.Zip (5.4 MB)
Aspose.Cells20.7.5 For .Net4.0.Zip (5.4 MB)

Your issue should be fixed in it.

Let us know your feedback.

The issues you have found earlier (filed as CELLSNET-47515) have been fixed in Aspose.Cells for .NET v20.8. This message was posted using Bugs notification tool by Amjad_Sahi