I have written this deliberate loop. It is a countdown timer. I am looking for a way to break out of it preferably by a user pressing a button. The code...
Sub StartTimer()
Do
Calculate
newHr = Hour(Now())
newMin = Minute(Now())
newSec = Second(Now()) + 1
waitTime = TimeSerial(newHr, newMin, newSec)
Application.Wait waitTime
Loop
End Sub
I don't want to press Ctrl+Break or any other key combinations. Do I have to change the update time? Can this even be done?
Thanx for any help / insight.
Dennis
<img src=/S/gramps.gif border=0 alt=gramps width=20 height=20>



