Hi guys,
I've had a procedure with Application.Ontime, following are the codes:
Sub OnTime()
ThisWorkbook.RefreshAll
Application.OnTime earliesttime:=(Now + TimeValue("00:00:05")), procedure:="OnTime"
End Sub
Once the procedure gets started, It seems that it can't be stopped properly.
How can I stop it from running?
Thanks
I've had a procedure with Application.Ontime, following are the codes:
Sub OnTime()
ThisWorkbook.RefreshAll
Application.OnTime earliesttime:=(Now + TimeValue("00:00:05")), procedure:="OnTime"
End Sub
Once the procedure gets started, It seems that it can't be stopped properly.
How can I stop it from running?
Thanks