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 (July 2002, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 29 Jul 2002 14:58:36 -0400
Reply-To:   Ed Heaton <EdHeaton@WESTAT.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Ed Heaton <EdHeaton@WESTAT.COM>
Subject:   Re: proc import, excel, always get one extra record?
Comments:   To: "Huang, Ya" <ya.huang@PFIZER.COM>
Content-Type:   text/plain; charset="iso-8859-1"

Ya;

With this technique, I get no extra rows.

Options validVarName=v8 ; LibName xls odbc complete="dsn=Excel Files;dbq=H:\SasTestBed\SAS-L\Book1.xls" ;

This is working on Windows98.

Ed

Edward Heaton, Senior Systems Analyst, Westat (An Employee-Owned Research Corporation), 1550 Research Boulevard, Room 2018, Rockville, MD 20850-3195 Voice: (301) 610-4818 Fax: (301) 294-3992 mailto:EdHeaton@westat.com http://www.westat.com

-----Original Message----- From: Huang, Ya [mailto:ya.huang@PFIZER.COM] Sent: Monday, July 29, 2002 1:51 PM To: SAS-L@LISTSERV.UGA.EDU Subject: proc import, excel, always get one extra record?

Hi there,

I'm using proc import to convert excel *.xls file to sas date sets. One of the xls file always get me one extra record (followed the last obs), with all the var's value missing. I tried to delete all the rows after the last visible rows in excel, by highlighting the rows and choose "delete" from edit menu, but the extra record in sas data set still there.

I know I can delete this record in SAS, just wonder why it happens.

Any clue?

Thanks

Ya Huang


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