Is it possible to read an Excel file using proc import when the file is open? If yes, how?
Unfortunately I don't think this is possible. Excel files are not designed for multi-user access - the first user opening it will lock the file. If you want to avoid errors of this type then set the permissions on these files to read-only.
OK 😞
I am asking because sometimes I need to edit an Excel and read it repeatedly. So I need to open and close it again and again. Thanks for you reply anyway.
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!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.
Ready to level-up your skills? Choose your own adventure.