Date: Wed, 6 Jun 2001 10:05:57 -0400
Reply-To: RChilds@BOSTONBIO.COM
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Randy Childs <RChilds@BOSTONBIO.COM>
Subject: Re: Commication with Word via DDE
Content-type: text/plain; charset=us-ascii
Ziqing,
It's a little bit tricky, but not too bad. The code below is going to
assume that you already have the document open in Word.
FILENAME CMDE DDE 'WINWORD|SYSTEM';
DATA _NULL_;
FILE CMDE;
PUT '[StartOfDocument]';
PUT '[LineDown]';
PUT '[EndOfLine(1)]';
RUN;
Hope this helps.
Randy Childs
Sr. Stat. Programmer
Boston Biostatistics, Inc.
---------------------------------
Date: Wed, 6 Jun 2001 08:49:36 GMT
From: ZPAN <zpan@AOL.COM>
Subject: Commication with Word via DDE
How can I highlight one line (say line #2) via DDE in a word file? Does
anyone
have experience to format a SAS output file or any text file using DDE?
Thanks,
Ziqing
|