I have a process where the user will upload an excel spreadsheet, I connect, store the data into an array (which I will populate a SQL Server DB with), close connections and recordsets and set them to nothing, then delete the file.
It works fine... the first time around. The second time around, I get the following error:
What could I be missing? Anything I could check for/destroy before I try to open/connect?
TIA
Gordon
It works fine... the first time around. The second time around, I get the following error:
Code:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Excel Driver] Could not use '(unknown)'; file already in use.
What could I be missing? Anything I could check for/destroy before I try to open/connect?
TIA
Gordon