Hi,
When I run Proc Import , SAS demands to close the excel file I'm importing from.
Is there a possibility to import when keeping the excel open?
Thanks
I found how to do it - just open the excel file in read-only mode.
So SAS can import data from the file and there no need to close the workbook.
View solution in original post
Excel opens files in read/write mode (and keeps them open), since it expects to update data. Always close files in Excel when you're done.
Or export to text (csv) and read that.
@IgorR wrote: Hi, When I run Proc Import , SAS demands to close the excel file I'm importing from. Is there a possibility to import when keeping the excel open? Thanks
No.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
Submit your idea!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.