L
Legacy 202776
Guest
This I guess is an Excel and Access question.
I have an Excel spreadsheet with multiple external data queries linked to a table in MDB A.
I plan on using the same Excel file and queries to now link to data in MDB B and remove MDB A
For each query I entered the query editor, (right click, select edit query, select SQL) and changed the SQL to point to and refresh from the new MBD B.
The queries all now update from the table in MDB B when refreshing data and when clicking refresh all.
I then deleted MDB A as it is no longer needed and all queries are all mapped to MDB or so I thought...
Now that MDB A has been deleted all the queries in the Excel file fail when refreshing with the error "Cannot find file..." showing the path to MDB A.
I have confirmed I did remap ALL queries in the Excel file to the new MDB B yet there is still something hidden withion Excel that wants to connect to the old database for every single query???
How can I find and remove this?
The only option I see is once the error pops up and I click 'OK' it allows me to select the file path of the new database MDB B again.
The problem with that is I would have to do go through that for every single query and I have over 100 which I prefer not to go through all over again and may need to do something similar in the future.
Does anyone know:
1) Why it is doing this even after I changed the SQL for each query to the new MDB?
2) Why if the MDB A exists, the file will correctly pull in all queries from MDB B but fail when I delete or rename MDB A even though it is not used in any query in the Excel file?
3) How can I correct this quickly / easily?
I have an Excel spreadsheet with multiple external data queries linked to a table in MDB A.
I plan on using the same Excel file and queries to now link to data in MDB B and remove MDB A
For each query I entered the query editor, (right click, select edit query, select SQL) and changed the SQL to point to and refresh from the new MBD B.
The queries all now update from the table in MDB B when refreshing data and when clicking refresh all.
I then deleted MDB A as it is no longer needed and all queries are all mapped to MDB or so I thought...
Now that MDB A has been deleted all the queries in the Excel file fail when refreshing with the error "Cannot find file..." showing the path to MDB A.
I have confirmed I did remap ALL queries in the Excel file to the new MDB B yet there is still something hidden withion Excel that wants to connect to the old database for every single query???
How can I find and remove this?
The only option I see is once the error pops up and I click 'OK' it allows me to select the file path of the new database MDB B again.
The problem with that is I would have to do go through that for every single query and I have over 100 which I prefer not to go through all over again and may need to do something similar in the future.
Does anyone know:
1) Why it is doing this even after I changed the SQL for each query to the new MDB?
2) Why if the MDB A exists, the file will correctly pull in all queries from MDB B but fail when I delete or rename MDB A even though it is not used in any query in the Excel file?
3) How can I correct this quickly / easily?