BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I have a SAS Macro that sends commands to Word that reads a SAS output file, Formats, Prints and Saves it.

It uses DDE to link to Word using the following statement:
filename wordcmd dde "winword|system";

This worked fine when our environment was Word 2003.

We recently installed Word 2007 and now I'm getting the following message:
ERROR: Physical file does not exist, winword|system

Can anyone help me modify the statement so that it works in Word 2007?
1 REPLY 1
deleted_user
Not applicable
I am also facing the same issue. SAS suggested a hot fix, but that too didnt work.

240 filename testit dde 'winword|"c:\temp\testing.doc"
241 !MARK' notab;
242
243 data _null_;
244 file testit;
245 put 'This is a test.';
246 run;

ERROR: Physical file does not exist, winword|"c:\temp\testing.doc" !MARK.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Discussion stats
  • 1 reply
  • 1237 views
  • 0 likes
  • 1 in conversation