Is there a way to import the first sheet from an excel file, without specifying the name of the sheet.
PROC IMPORT
DATAFILE= "filePath\fileName.xlsx"
DBMS=EXCEL REPLACE
OUT= _fileName_OUT.;
SHEET = 'sheetName';
GETNAMES=YES;
MIXED=NO;
SCANTEXT=YES;
USEDATE=YES;
SCANTIME=YES;
RUN;
So instead of using the "sheetName" parameter, I am looking for a generic term that would specify that it should be the first sheet in the excel file.