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:
  1. Private Function Example()
  2. Dim FirstNum, SecondNum As Integer
  3. FirstNum = "0"
  4. SecondNum = "0"
  5. FirstNum = Text1
  6. ' do whatever to textbox and then add other number
  7. SecondNum = Text1
  8. Msgbox FirstNum + SecondNum
  9. end function

something like that should do fine...didn't try it in VB yet, so good luck