Hello.
I have an Excel file that retrieves data from Access. It works fine except when the directory that the .mdb resides is set to read-only (or is on a CD).
When I run my code I get "Run-Time Error '3050': Could Not Lock File."
I know this stems from Access trying to create a .ldb file in the same directory as the .mdb.
Does anyone know a way to still access the data with code?
I have an Excel file that retrieves data from Access. It works fine except when the directory that the .mdb resides is set to read-only (or is on a CD).
When I run my code I get "Run-Time Error '3050': Could Not Lock File."
I know this stems from Access trying to create a .ldb file in the same directory as the .mdb.
Does anyone know a way to still access the data with code?