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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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