Store the first number in a variable, then store the second number in another variable... then add them and display in the textbox![]()
VB Code:
Private Function Example() Dim FirstNum, SecondNum As Integer FirstNum = "0" SecondNum = "0" FirstNum = Text1 ' do whatever to textbox and then add other number SecondNum = Text1 Msgbox FirstNum + SecondNum end function
something like that should do fine...didn't try it in VB yet, so good luck![]()




Reply With Quote