in this code check last blank row in sheet1 in Columun "A") than TextBox Value transfer in sheet1 last blank row in "C" column. in this macro run the value transfer from Range "C6" but i like TextBox value Transfer from Range "C2". Range " C1" is heading
Code:
Dim j As Long
Dim Lastrow As Long
Lastrow = Cells(Rows.Count, "A").End(xlUp).Row + 1
Dim ctrl As Control
For j = 6 To 10
Cells(Lastrow, "C").Value = Me.Controls("TextBox" & j).Value
Lastrow = Lastrow + 1
Next
Last edited by a moderator: