I would like to prevent the ODBC Connection Dialog box from appearing when I run an Excel VBA macro that queries an ODBC database.
I am using the following code in VBA to open the connection..the query works fine and produces the output but the query box still appears whatever I try...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.