I'm trying to connect to the default DB in DAO so i cna create a temp query and do the following simple action:
-------------
Function SQLToExcel(sqlString As String)
Dim cnn As DAO.Connection
Dim qdf As DAO.QueryDef
Set cnn = CurrentDb
Set qdf = cnn.CreateQueryDef(Null, sqlString)...
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.