Importing Excel Worsksheet

Reply
Occasional Contributor
Posts: 17

Importing Excel Worsksheet

 

When importing several worksheets ( but not all) from Excel into SAS, is there a way to import several worksheets instead of just one at a time with separate proc import procedure? 

 

Thank you in advance!

 

Super User
Posts: 3,233

Re: Importing Excel Worsksheet

Yes there is - using the LIBNAME statement with the EXCEL engine option:

 

http://support.sas.com/documentation/cdl/en/acpcref/67382/HTML/default/viewer.htm#n1wvmggexroxgyn17r...

 

You can then use the DATASETS procedure to copy all tabs in a workbook or choose selected tabs.

Occasional Contributor
Posts: 17

Re: Importing Excel Worsksheet

Thank you a bunch for your help!

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