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
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.
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
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.