M
mdub
Hi,
I have a text box (txtCount) and an Add button. I am trying to write code
that increases the count by 1 in the text box, every time the button is
clicked. The code I have so far only produces "1" in the text box:
Private Sub cmdAdd_Click()
Dim Count As Integer
Count = 0
Count = Count + 1
txtCount.Value = Count
End Sub
Thanks for the help.
Michael
I have a text box (txtCount) and an Add button. I am trying to write code
that increases the count by 1 in the text box, every time the button is
clicked. The code I have so far only produces "1" in the text box:
Private Sub cmdAdd_Click()
Dim Count As Integer
Count = 0
Count = Count + 1
txtCount.Value = Count
End Sub
Thanks for the help.
Michael