Menu
I use:
[code=php]header(“Content-type: application/octet-stream”);
header(“Content-Disposition: attachment; filename=myexcelreport.xls”);
header(“Pragma: no-cache”);
header(“Expires: 0”);
To download my webpage as an excel workbook….
However I would like multiple worksheets in the workbook being different parts of the downloaded webpage, and I would like one of those to be a macro to create charts and format data…
How do i do that?