BookmarkSubscribeRSS Feed
Peter_C
Rhodochrosite | Level 12
Hi there

do you know any way of persuading proc import to access an excel workbook range through the SAS/Access Interface to ODBC.
.. ... ... (not sas/access to PC File formats)
enquiring minds want to know if it is possible;-)

PeterC
3 REPLIES 3
LinusH
Tourmaline | Level 20
Should be possible by using the n literal when specifying work-sheet name. There is a limitation on the total name lenght though:

http://support.sas.com/kb/33/490.html

/Linus
Data never sleeps
Peter_C
Rhodochrosite | Level 12
thank you Linus,
but I don't think that works through proc import, at least I've found no way, so far. Looks like we need to revert to Access to PC File formats

PeterC
Patrick
Opal | Level 21
Excel can be an ODBC data source so accessing it via SAS/ODBC should be possible.
http://www.datamystic.com/datapipe/excel_odbc.html

I never tried it and SAS Access to PC File formats is sure much more convenient.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 939 views
  • 0 likes
  • 3 in conversation