Convert from HTML to Excel Stream Dotnet

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);
}

1 Like

@nivas.svr

Please take a look at our Save file to Stream documentation article. Let us know if any further assistance is required.

Thanks Atir… all good

1 Like

@nivas.svr

You are welcome