If you dimension your global variables as followsit will work. That is, if you type 6 in your textbox, press Enter, then replace the 6 with a 4 and press Enter again, Total will contain 10. If that's not what you want to have happen, please give an example of what you want.Code:Dim strTotal As Integer Dim Stored As Integer Dim Total As Integer
------------------
Marty




Reply With Quote