Código PHP:
<?php
//Exportar datos de php a Excel
header("Content-Type: application/vnd.ms-excel" );
header("Expires: 0" );
header("Cache-Control: must-revalidate, post-check=0, pre-check=0" );
header("content-disposition: attachment;filename=Reportes.xls" );
?>
![Confundido](http://static.forosdelweb.com/fdwtheme/images/smilies/confused.png)
Gracias de antemano!