I can not export multiple tables of the same web page to excel.
One table to one file works - there are lots of jquery plugin that can handle that.
But a table per worksheet I can not find.
Here is an example of my tables
<body>
<table id ="table1">
<thead>
<tr>
<th>N°</th>
<th>titre1</th>
<th>titre2</th>
<th>titre3</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>val1</td>
<td>val2</td>
<td>val3</td>
</tr>
</tbody>
</table>
<table id ="table2">
<thead>
<tr>
<th>N°</th>
<th>titre1</th>
<th>titre2</th>
<th>titre3</th>
<th>titre4</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>val1</td>
<td>val2</td>
<td>val3</td>
<td>val4</td>
</tr>
</tbody>
</table>
<button>Export</button>