Can we pass a variable in any access query?I am stuck in a VBA code where I am passing variable from excel and using Access Queries to extract Data from Linked Table.This query works in Access but when I plug the code in VBA it starts giving error ........Can anyone help with access queries in VBA