Help to Import many excel wkbs with many worksheets to SAS PC and SAS EG 4.2

Reply
Contributor
Posts: 68

Help to Import many excel wkbs with many worksheets to SAS PC and SAS EG 4.2

Dear all,

Could you please help me with the following.

I have a directory that has an unknown number of EXCEL workbooks, which in turn they have an unknown number of worksheets.

Finally each one of the worksheets includes certain number of NAMED RANGES (that they are identical across all spreadsheets across all Workbooks).

Is there any way to import them into SAS PC or into SAS EG 4.2?

I would like to thank you in advance

Kind regards

Nikos

Super User
Posts: 3,254

Help to Import many excel wkbs with many worksheets to SAS PC and SAS EG 4.2

If you search the SAS Support site you will find a number of SAS notes and sample programs that may meet your requirements. One such example is:

http://ftp.sas.com/techsup/download/base/autoimporterv9csheettrack.sas

This program deals with the multiple sheet per workbook issue. In the same download folder there are other programs that deal with the multiple workbooks per directory problem so you may be able to tie the two together.

PROC Star
Posts: 7,474

Help to Import many excel wkbs with many worksheets to SAS PC and SAS EG 4.2

And, another paper that describes a macro for accomplishing the task can be found at: http://pharmasug.org/proceedings/2011/CC/PharmaSUG-2011-CC10.pdf

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