Hello,
I'm trying to write some vba that will import all excel spreadsheets in a folder into an access database. I had this working yesterday and now today I'm getting this 3051 error, saying the file is either open or has insufficient access permission.
The permissions on the folder and files are all set to full access and I've unchecked read only. I have tried this on different folders and tried creating a brand new excel file to try an import. Same error. I've included a sample so you can see what's going on. I'm using a browse folder api that I found. Then just calling that from a module and looping through all the .xls files in a folder.
Thanks
-d
I'm trying to write some vba that will import all excel spreadsheets in a folder into an access database. I had this working yesterday and now today I'm getting this 3051 error, saying the file is either open or has insufficient access permission.
The permissions on the folder and files are all set to full access and I've unchecked read only. I have tried this on different folders and tried creating a brand new excel file to try an import. Same error. I've included a sample so you can see what's going on. I'm using a browse folder api that I found. Then just calling that from a module and looping through all the .xls files in a folder.
Thanks
-d