【发布时间】:2012-02-09 05:05:43
【问题描述】:
当我运行 Office 2007 时,我的 SAS DDE 脚本填充、保存并关闭了 excel 文件就好了。
我最近更新到 Office 2010 并且人口工作正常...但 excel 在保存对话框中停止。我必须手动点击以前不需要的保存。
有人知道如何解决这个问题吗?
我正在使用的代码:
filename commands DDE 'EXCEL|SYSTEM';
data _null_;
file commands;
put '[OPEN("pathtoexcelfile.xls")]';
run;
data _null_;
file commands;
put "[Save.as(""&saveas_Path.&saveas..xls"")]";
put "[Close]";
run;
【问题讨论】:
标签: sas