楼主: lvjinghui
3320 4

[原创博文] 求助:DDE 读 EXCEL file [推广有奖]

  • 0关注
  • 0粉丝

已卖:168份资源

大专生

33%

还不是VIP/贵宾

-

威望
0
论坛币
530 个
通用积分
0.0600
学术水平
-1 点
热心指数
-1 点
信用等级
-1 点
经验
441 点
帖子
34
精华
0
在线时间
41 小时
注册时间
2009-8-12
最后登录
2014-11-7

楼主
lvjinghui 发表于 2010-6-23 15:40:01 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
My program:

options noxwait noxsync;
filename patients dde
"excel|D:\lvjinghui\project\pfizer\2010-04-26 A4061039\reference\[A4061039 target and actual graph.xls]1039 !$A$2:$F$68";
data _null_;
   infile patients;
   input;
   put _infile_;
run;
  
Error in log:

ERROR: DDE session not ready.
FATAL: Unrecoverable I/O error detected in the execution of the data step program.
       Aborted during the EXECUTION phase.

请问高手怎样解决这个问题呀?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:EXCEL file exce xcel cel execution reference patients during excel

沙发
wkn1986 发表于 2010-6-23 17:25:35
估计是你的excel文件没打开

藤椅
lvjinghui 发表于 2010-6-23 18:08:08
怎么打开?
我用  
options noxwait noxsync;
x ' "D:\lvjinghui\project\pfizer\2010-04-26 A4061039\reference\[A4061039 target and actual graph.xls";
还是不行!

板凳
jingju11 发表于 2010-6-24 00:00:06
lvjinghui 发表于 2010-6-23 15:40
My program:

options noxwait noxsync;
filename patients dde
"excel|D:\lvjinghui\project\pfizer\2010-04-26 A4061039\reference\[A4061039 target and actual graph.xls]1039 !$A$2:$F$68";
data _null_;
   infile patients;
   input;
   put _infile_;
run;
  
Error in log:

ERROR: DDE session not ready.
FATAL: Unrecoverable I/O error detected in the execution of the data step program.
       Aborted during the EXECUTION phase.

请问高手怎样解决这个问题呀?
options noxwait noxsync;
%SYSEXEC  "D:\lvjinghui\project\pfizer\2010-04-26 A4061039\reference\A4061039 target and actual graph.xls";
filename patients dde
"EXCEL|D:\lvjinghui\project\pfizer\2010-04-26 A4061039\reference\[A4061039 target and actual graph.xls]1039 !R2C1:R68C6"
;
RUN;
/*1039 !$A$2:$F$68";*/
data _null_;
   infile patients;
   input;
   put _infile_;
run;

You may try above.
Note: I saw they identify the selection in worksheet by R*****C***:R*****C*** but not in your form $A... Honestly, I do not know if that is the reason.

报纸
霍华明 发表于 2011-3-2 16:38:07
要先用x命令运行Excel软件,再打开文件

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2026-1-2 21:19