You can use libname engine to define a excel book as a SAS data library. Then you can treat them as SAS data sets.
Here is an example,
libname S EXCEL 'c:\temp\book1.xlsx';
proc sql noprint;
select catt(trim(libname),'.',quote(trim(memname)),'n') into: namelist separated by ' '
from dictionary.tables
where libname in ('S');
quit;