Is it possible to use an array or dictionary as the table in a SQL statement.
e.g. strSQL = \"SELECT * FROM \" & myArray & \"\"
Thanks in advance.
Dim a(3) As Variant a(0) = 1 a(1) = 2 a(2) = 3 a(3) = 4 Debug.Print "select * from xyz where id in (" & Join(a, ",") & ")"