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 (April 1997, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 23 Apr 1997 14:53:38 GMT
Reply-To:   Louis Blais <lblais@MRN.GOUV.QC.CA>
Sender:   "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:   Louis Blais <lblais@MRN.GOUV.QC.CA>
Organization:   MRN
Subject:   Re: DDE in SAS 6.11 and Office95

You have to open your excel data, put it in icon and write:

FILENAME IN1 DDE 'EXCEL|[PLNRTBL.XLS]PLNRTBL!R3C4:R159C10';

I use it with Win95 and office 95 and it works.

Louis.

Thomas T. Barney <tbarney@bcstec.ca.boeing.com> a icrit dans l'article <335CD765.2807@bcstec.ca.boeing.com>... > The following code works when in windows3.11 and excel 5.0 and PCSAS > 6.11, however it returns a message of file name not present under win95 > and Excel in Office95 and SAS6.11. Anyone know why or what I did wrong. > > Also of note is that we are reading 3 nonconsecutive columns. > > TIA. > > code follows: > > FILENAME IN1 DDE 'EXCEL|D:\DATA\TEXT\[PLNRTBL.XLS]PLNRTBL!R3C4:R159C10'; > > OPTIONS ERRORS=1; > DATA DEST; > INFILE IN1 DLM='09'X NOTAB DSD MISSOVER; > INPUT TEST1 $ TEST2 $ TEST3 $ TEST4 $ ; > *INPUT DEST1 LEAD $ MGR $ ; > /* IF LEAD='XXX' THEN DELETE; > IF DEST1<=. THEN DELETE; > DEST=PUT(DEST1,Z3.0); > ALL=DEST||LEAD||MGR; */ > > RUN; > > Thomas Barney > tbarney@bcstec.ca.boeing.com >


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