I am looking for the option to convert from HTML to excel stream, Below code converts directly to excel file.
using (Converter converter = new Converter(@“C:\htmlsample.html”))
{
SpreadsheetConvertOptions options = new SpreadsheetConvertOptions();
converter.Convert(@“C:\output.xls”, options);
}