How create single HTML file to viewed in Excel with multiple sheets?

Posted by Dmitry Nelepov on Stack Overflow See other posts from Stack Overflow or by Dmitry Nelepov
Published on 2013-06-25T10:20:14Z Indexed on 2013/06/25 10:21 UTC
Read the original article Hit count: 202

Filed under:
|
|

I want know, is it possible create single HTML file wich (after chaging extension to xls) when opened at Excel will parsed to multiple sheets.

Little example

i got file test.xls with contents

<html>
<body>
<table>
<tr>
 <td>
 1
 </td>
 <td>
 2
 </td>
 <td>
 3
 </td>
 <td>
 =sum(A1:C1)
 </td>

</tr>
</table>
</body>
</html>

When i open this file at Excel i got one Sheet with calculated sum of cells A1 to C1 in A4=6

I wonder, it's possible create a HTML file wich containts multiple tables wich will be parsed as multiple sheets at Excel.

Here Excel view of this file enter image description here

© Stack Overflow or respective owner

Related posts about html

Related posts about excel