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
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.