hello i want to import multiple xls sheets to sas . please guide how to do it ?
I strongly advise you, if you have to use Excel at all, to move that data into a .xlsx file. .xls is the very old binary file format MS used to use back in 2000 and before. It shouldn't be used nowadays. Technology has moved on a lot since then, and assuming your SAS version is 9.3 or later you can simplify your process if you xlsx to:
libname tmp xlsx "c:/path/to/file/yourfile.xlsx"; proc copy in=tmp out=work; run; libname tmp clear;
You can see the engine in action:
https://blogs.sas.com/content/sasdummy/2015/05/20/using-libname-xlsx-to-read-and-write-excel-files/
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Get started using SAS Studio to write, run and debug your SAS programs.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.