1 ods html file="E:\汇总.xls";
2 proc print data=guanhui.buydetail_evedetailfee;
3 run;
4 ods html close;

为什么是html那?是因为用csv的话所有数据都集中在一个单元格里,非我所需。而网上

1 ods tagsets.excelxp file="d:\test.xls" options(sheet_name="print") style=analysis;
2 proc print data=sashelp.class;run;
3 ods tagsets.excelxp options(sheet_name="freq");
4 proc freq data=sashelp.class;
5 tables sex;
6 run;
7 ods tagsets.excelxp close;

的方法生成的excel无法打开。so,曲线救国。

 

相关文章:

  • 2021-10-13
  • 2021-06-03
  • 2021-11-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-02
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-03-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案