This is the fastest way I've found to populate a range from a DAO.Recordset without having to move thru the recordset via a For Next Loop.
Public Sub Trial()
Dim rng as Range
Dim wrksht as Worksheet
Dim rst as Recordset (DAO.Recordset)
Dim strSQL1 as String
strSQL1 = "SELECT [TABLE].* FROM...
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.