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.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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