Hi.. I have this code below that transfer my "Textbox1" to "Textbox20" to column A. I have another set of Textboxes ("DataBox1" to "Databox20") that i need to transfer to Column B. can anyone help me on this. Thanks
Dim lrow As Long, i As Long
lrow = Cells(Rows.Count, "A").End(xlUp).Row + 1
With Sheet3
i = 1
Do Until i = 20
.Cells(lrow, 1) = Me.Controls("Textbox" & 1 + i)
lrow = lrow + 1
i = i + 1
Loop
End With
Dim lrow As Long, i As Long
lrow = Cells(Rows.Count, "A").End(xlUp).Row + 1
With Sheet3
i = 1
Do Until i = 20
.Cells(lrow, 1) = Me.Controls("Textbox" & 1 + i)
lrow = lrow + 1
i = i + 1
Loop
End With