Hi:
1) yes, using tagsets.excelxp (using the NEWFILE= option)
2) yes, using tagsets.excelxp (the code below creates one sheet for every name in sashelp.class)
3) I do not believe this is possible with SAS
4) tagsets.excelxp has some printing/print area instructions
5) tagsets.excelxp has some printing/ print area instructions
Look at the doc=help output in the SAS Log for 4 & 5 info. You may still need an Excel macro depending on the formatting you want/need to do.
cynthia
[pre]
proc sort data=sashelp.class out=class;
by name;
run;
ods tagsets.excelxp file='testout.xml'
options(doc='Help');
proc print data=class;
by name;
run;
ods tagsets.excelxp close;
[/pre]