Hello - have started getting this error.
And by getting this error, I mean once every couple of seconds.
Here is the code that I am running:
Windows Scheduling procedure from
(
http://www.cpearson.com/excel/ontime.htm)
every second I have a call a procedure that does the following:
Function TestProcedure()
' Install the error handler.
On Error GoTo UnexpectedError
Application.Sheets("NEATO_dash").Range("I34") = Application.
Sheets("NEATO_dash").Range("I34") + 1
If Application.Sheets("NEATO_dash").Range("I34") = 10 Then
TimeID2Kill = Application.Sheets("NEATO_dash").Range("J25")
KillTimer 0&, TimeID2Kill
End If
' Tell us what happened
UnexpectedError:
' Describe the error to the user.
MsgBox "Unexpected error" & _
Str$(Err.Number) & _
" in subroutine TestProcedure." & _
vbCrLf & _
Err.Description
End Function
when I run this for more than 1000, after a couple of minutes, the error
starts popping up....
If you can replicate this, i'd love to know.
many thanks, Sebastian.