Hi Kevin,
I see what you're doing there and why it's doing what it is.
You could change the way the input works so that it enters the value in the text box when you click out of it:
Private Sub TextBox1_LostFocus()
Range("A" & Rows.Count).End(xlUp).Offset(1, 0).Value = TextBox1.Text
End Sub
Or you can remove your macro entirely and then add an ActiveX Command Button to the sheet - then right click and select View Code.
Change the code to:
Private Sub CommandButton1_Click()
Range("A" & Rows.Count).End(xlUp).Offset(1, 0).Value = TextBox1.Text
End Sub
Also note that in both examples above you can replace this code:
Range("A2").End(xlDown).Offset(1, 0).value = TextBox1.value
ActiveCell.value = TextBox1.Text
with
Range("A" & Rows.Count).End(xlUp).Offset(1, 0).Value = TextBox1.Text
Bookmarks