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

Free Support Forum - aspose.com

Error creating workbook from html which contains font-size: "input string was not in a correct format"


I’m using Aspose Cells for .Net v

I’m creating an xlsx workbook from an html file using the code below.
It works well -if- the html does not include style=“font-size:” arguments.
If it does, then I receive the error message: input string was not in a correct format.

Dim HTMLloadOptions As New HTMLLoadOptions()
Dim obj As Workbook = New Workbook(htmlFileName, HTMLloadOptions)

errors on the above statement.
htmlFileName is the path and name to the html file.

How can I create the workbook using html files which include font-size settings?




Please try our latest version v7.1.0 in which we made some enhancements regarding Html rendering:

If you still find the issue, please attach your Html file here, we will check it soon.

Thank you.