LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (June 2001, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: listserv@uga.cc.uga.edu, sas-l@uga.cc.uga.edu
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


Back to: Top of message | Previous page | Main SAS-L page