Create Excel file from HTML

I know that I can create HTML <table>and save it as an .xls file for reading in Excel, and this works fine and everything, but it gives me only one sheet.

Is there a way to generate HTML so that I can have multiple sheets in a single .xls file? I tried to just generate more than one <table>, but they just end up being added to eachother.

+5
source share
3 answers

Short answer: No.

. , HTML, Excel. , HTML, , , Excel , . , 5 , HTML excel ( /, ) .

: , ClosedXML FileHelpers, xlsx.

+3

You can use open-source ClosedXML , wrap it around OpenXML to conveniently generate xlsx files, i.e. Excel 2007 format Excel files.

0
source

All Articles