I am attempting to delete a query that as you can see in my screenshot exists, but my vba gives the error
Run-time error '2059':
Microsoft Access can not find the object 'qryExport'
This is the code I have
Code:DoCmd.DeleteObject acQuery = acDefault, "qryExport"
But as you see in the image below it clearly exists!