Importing HTML

Nov 22, 2012 at 1:41 PM

I have some data in HTML format. If I maually open the file in excel or paste the html content to a worksheet the chart gets drawn with all the right formatting.

But I have not been able to import HTML using EPPlus. So far I've tried:

  • ExcelPackage package = new ExcelPackage("test.html")) --> Error saying the file is damaged
  • Cells[1,1].Value = strHtmlData --> the raw html string is inserted into the cell

 

Is there any other way to solve this?

Apr 22, 2015 at 6:21 AM
I have the same issue....

I further even tried copying to the clipboard but not able to paste it.

Any ideas?