Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Import multiple Excel worksheets in one datastep? 1

Status
Not open for further replies.

ad2

Technical User
Dec 31, 2002
186
US
Hi,

I have several worksheets in the Excel source file. Is there a way to import each in one datastep and then merge?

I've tried the following but it only imports the first worksheet:

<code>
proc import datafile="C:\data.xls"
out=customers
dbms=excel replace;
SHEET="'1$'";
SHEET="'2$'";
run;
</code>

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top