I'm new to VB. Is there a way to slow down how fast the following code executes? I am trying to have one number increase from 1 to 4 and the other decrease from 15 to 0 when the user clicks a command button. The event takes place, but way too fast...you only see 1 and 15 on the screen, hit the button, and then see 4 and 0. It speed counts! I want to actually be able to see the numbers change.
Private Sub cmdClock_Click()
For Qtr = 1 To 4
For Minutes = 15 To 0 Step -1
lblMinutes.Caption = Minutes
Next Minutes
lblQuarters.Caption = Qtr
Next Qtr
End Sub
Private Sub cmdClock_Click()
For Qtr = 1 To 4
For Minutes = 15 To 0 Step -1
lblMinutes.Caption = Minutes
Next Minutes
lblQuarters.Caption = Qtr
Next Qtr
End Sub