este es el codigo:
<?Gracias
header("Content-type: application/vnd.ms-excel; name='excel'");
header("Content-Disposition: filename=ficheroExcel.xls");
header("Pragma: no-cache");
header("Expires: 0");
?>
<div id="main">
<h2><center>
Listado de Usuarios
</center></h2>
<br>
<div class="data">
<table width="100%" id="formulario" border="1">
<tr id="cabecera">
<th width="70">Nro.</th>
<th width="94">Nombre Completo</th>
<th width="186">Telefono</th>
<th width="179">Email</th>
<th width="217">Tipo Usuario</th>
<th width="217"> Usuario</th>
</tr>
</tr>
</table>
</div>
</div>