如何通过SAS ODS输出到excel的多个worksheet里

可以使用系统内置的tagsets.excelxp来分worksheet输出 

ods  tagsets.excelxp  file="d:\test.xls" options(sheet_name="print") style=analysis;
proc print data=sashelp.class;run;

ods  tagsets.excelxp  options(sheet_name="freq");
proc freq data=sashelp.class;
     tables sex;
run;

ods tagsets.excelxp close;

 

但是很遗憾的是,不支持输出图片到EXCEL中

你可能感兴趣的:(SAS)