I'm exporting a recordset from access to excel and I want to tell something like.
paste the value of the recordset in the cell on the right to the one there is "blbla".
The code is this:
g = 4 'the column number in the excel sheet
Do Until rs3.EOF ' do till the end of the recordset
Cellcont = rs3(i3 + 3) 'this is the content of the cell (taken from the recordset)
**which cell contain Cellcont**
Sht.Cells(x, g).Value = rs3(i3 + 4) 'paste the recordset value to excel cell
rs3.MoveNext 'next row
Loop
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.