I'm thinking that CurrentDb is a copy of the db that is related to the User Interface (UI), in which case that would be the db where you're running the code from, which shouldn't work. Perhaps Set db = accessApp.dbEngine(0)(0) would work for this?
I also wonder if there aren't easier ways, such as linking or importing the tables, r TransferSpreadsheet method between db's.
As for code tags, it's the # button on the posting toolbar.
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.