hey guys, i'm stuck again!

I'm learning about loops.

The exercise i'm doing wants me to enter numbers into a box (it doesn't specify what sort so i'm using a text box). It wants me to show the running total of the numbers entered into the box (this is shown in another text box box) and it wants me to keep entering numbers until the running total is 500. If 500 is exceeded then a msg box pops up.

Here's my code so far:
VB Code:
  1. Option Explicit
  2. Dim Number As Integer
  3.  
  4. Private Sub cmdOk_Click()
  5. Static Total As Integer
  6.  
  7.  
  8. Total = 0
  9.  
  10. Do
  11. Number = txtNumber.Text
  12.  
  13. Total = Total + Number
  14.  
  15.  
  16. Loop Until Total = 500
  17.  
  18. txtTotal.Text = Total
  19.  
  20. If Total > 500 then
  21.  
  22. msgbox "Total Capacity Reached"
  23.  
  24. End Sub

can you give me any pointers. i've been stuck on this for about 2.5 hours now.

thanks