LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (January 2004, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 2 Jan 2004 13:17:43 -0800
Reply-To:     Helen <sunchunkui@HOTMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Helen <sunchunkui@HOTMAIL.COM>
Organization: http://groups.google.com
Subject:      how to tell data type and width of columns of excel file via DDE
              when import to SAS?
Content-Type: text/plain; charset=ISO-8859-1

Dear SAS-L,

I am trying to import excel file (one workbook with multipul worksheets) to SAS via DDE. I would like to know the type of every column of excel file(e.g. character,numeric, date and datetime) so I can define them in my SAS dataset. It seems that get.cell(7) function can do a little. But I am not quite sure especially when one column only contains numbers but get.cell(7) return 'general' (I take it as characters type).

Could someone give me any advice? Thanks!

Helen


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