Hello:
Please refer to attached sheet.
I am trying to create a very simple userform to enter First Name and Last Name .
While pressing the "Submit button, it gives error.
Can someone help on this simple task.
Below is the capture code I am using.
Let me Know if you have any questions.Private Sub CommandButton1_Click() Dim erow As Integer erow = Sheet1.Cells(Rows.Count, 1).End(x1up).Offset(1, 0).Row Cells(erow, 1) = TextBox1.Text Cells(erow, 2) = TextBox2.Text End Sub
Thanks.
Riz
Bookmarks