Does anyone have the source code for David Brown's %sas2xl SAS macro that I can have? David presented this macro at Sugi 30 (paper 092-30) "%sas2xl: A Flexible SAS® Macro That Uses Tagsets to Produce Complex, Multi-Tab Excel Spreadsheets with Custom Formatting"
You might try contacting the author for the macro code. Or, consider using the TAGSETS.EXCELXP destination -- which has a lot of the functionality mentioned in his paper:
ods tagsets.excelxp file='somesheets.xls' style=sasweb;
proc print data=sashelp.class;
proc means data=sashelp.class min mean max;
var age height;
ods tagsets.excelxp close;
You should then get 2 worksheets. One for each procedure. You can specify a different point for making different sheets (such as every table, every BY group, every output object, etc). TAGSETS.EXCELXP is self documenting in the latest versions and has ways for you to specify many enhancements to the spreadsheet.