Hello
I have XLSX file and I want to import it using excel engine.
When I go to start and paste the path \\path\zaad_batuah.xLSX then I can see the XLSX file (So this path is correct).
However I get an error that the file doesn't exist
Is there anything wrong with my code?
libname RRR clear;
libname RRR XLSX "\\path\LoansInfo.xLSX";
data LoansInfo;
set RRR.LoansInfo;
run;
Hi, two things:
1.The excel file you are trying to import needs to be closed or in a share mode.
2.The dataset you are using in the set statement 'RRR.LoansInfo' has to be a sheet in your excel file.
I.e.: If LoansInfo isn't a sheet name in your excel file it won't work.
- Cheers -
3. just because you can see the file from your computer, does not necessarily mean, that the sas-session sees it, too.
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: