Hi,
I have a process where I use an ADODB connection to retrieve record data from an excel file:
This all works perfectly well provided the Excel file (or strDataFileNamePassed) is a folder location on my local PC or mapped network drive. However, if I move the Excel file to OneDrive then when the code runs to the the line: .Open strConnection there is a long delay where nothing happens and after about 45 seconds I get:
Error -2147467259 The Microsoft Access database engine could not open or write to the file (file name). It is already opened exclusively by another user or you need permission to open and write to the file.
The file certainly isn't opened. Does anyone know how to resolve this issue.
Thank you.
Bookmarks