here is my timer code:
Sub startTimer()
Application.OnTime Now + TimeValue("00:00:01"), "increment_count"
End Sub
Sub increment_count()
Range("G12").Value = Range("G12") - 1
startTimer
PauseTime = 0
Start = Timer
Do While Timer < Start + PauseTime
Loop
End Sub
Sub StopTimer()
Application.OnTime Now + TimeValue("00:00:01"), "increment_count", schedule:=False
End Sub
my problem is that the timer does not stop at "0" it continues -1 -2 etc. Also where would i put the following code:
MsgBox "Time Up! How Did You Do?"
Me.Hide
Exit Sub
and when the ok button is clicked i need it to open up userform1
can someone please help
Bookmarks