Free Support Forum -

Importing a table as an HTML string into an Excel worsheet


Is there a way to directly import a c# string that represents an HTML table in a excel worksheet without having to save the string as an HTML file and then import the HMTL file?



Well, I think you may try to use Cell.HtmlString property to specify your desired HTML string.

By the way, not all the HTML tags or options are supported for HtmlString attribute, we are continuously working over it to enhance the HTML parsing by using this property from the last three four releases.

Thank you.