Help using Base SAS procedures

Importing one excel cell using proc import

Reply
New Contributor
Posts: 2

Importing one excel cell using proc import

I need to import just a single excel cell using the proc import.  Can anyone tell me how to do that or provide a piece of code that does?

Many thanks,

PROC Star
Posts: 7,487

Importing one excel cell using proc import

You only need to define the range to be that one particular cell you want.  However, if you sheet has any special characters in it that could pose a problem.  If so, or if not, the following tech note supplies the code you need: http://support.sas.com/kb/19/827.html

New Contributor
Posts: 2

Importing one excel cell using proc import

Thanks for the help.  The key is to use the ranges as described but to set the GETNAMES equal to NO.

g

Ask a Question
Discussion stats
  • 2 replies
  • 154 views
  • 0 likes
  • 2 in conversation