-
on error
just wanted to know and i can test it my self at the moment but would this work
Code:
On Error Resume Next
other code
If somthing Then
On Error GoTo errorlog
do some stuff that may cause errors
On Error Resume Next
Else
Do other stuff
End If
because above and below there are errors that may be generated but can be skiped but in the do some stuff that may cause errors i need to report the error so that code i have in another sub will not run.
-
It looks like it should. BTW, to turn off error checking, you can use On Error Goto 0.
-