I have a problem with the macro that I am running. At the start I import a table and then I run a query on it at the end I want to delete the table but when I try "DeleteObject" it always comes up as an error and says that Access could not lock the table because some other user is using it. But I know this isn't true because immediately after I am able to click on it and it will delete just fine. If anybody knows what I am doing wrong the help would be much appreciated.
Thanks,
Phil
Thanks,
Phil