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.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.