.NET converter
Export Html To Excel files XLS, XSLX

Html To Excel .NET

• HTML documents with CSS styles.
• Excel formats: Excel Spreadsheet XLSX, XLS, CSV.
• Doesn't require Microsoft Excel.
• Royalty-Free. No extra cost for Server license.
• 6 Months: Free Support + Free Updates.
Evaluation Version
Download  |   Online Demo
Developer License - $175
Buy now  |   Price List

Skip Navigation LinksUser Experience > Html to Excel Memory

Html To Excel .NET converter  

 

 

 
Learning Resources
 

 

 

 

 

News & Releases

April 05, 2016
Version 2.1 Update
Html To Excel .NET converter
December 23, 2015
Version 2.1 Update
Html To Excel .NET converter
February 12, 2015
Version 2.1 Update
Html To Excel .NET converter
May 02, 2013
Version 2.1 Update
Html To Excel .NET converter
December 12, 2012
Version 2.1 Update
Html To Excel .NET converter
August 11, 2012
Version 2.1 Update
Html To Excel .NET converter
June 07, 2012
Version 2.1 New Release!
Html To Excel .NET converter

Convert Html to Excel in Memory

"The converter exports html to excel very well. But how can I convert to excel and keep it in memory instead of file?"
William Orona

After converting html to excel, the excel can be saved as a file or memory stream. See the code below for interface of saving an excel in memory. Later user can display it or save to file.

  1. // Read the specified html file.
  2. HtmlDoc html = HtmlDoc.ReadHTML(@"Html_to_Excel.html");
  3.  
  4. // Convert Html table to Excel
  5. HtmlToExcel htmlexcel = new HtmlToExcel();
  6. ExcelWorkbook excel = htmlexcel.Convert(html);
  7.  
  8. //Add text and save Excel file to Memory stream.
  9. excel.Worksheets[0].Cells["C1"].Value = "HTML to Excel";
  10. MemoryStream mstream = excel.WriteXLSX();
  11.