Hi,
I am wondering if it is possible to write an error handler such that when my main body of code calls a particular function, if while the function is running, an error occurs, the code restarts the function.
Hi,
I am wondering if it is possible to write an error handler such that when my main body of code calls a particular function, if while the function is running, an error occurs, the code restarts the function.
Thank you, Logit, one question though... if the error occurs, it would be occurring within the function that I want to restart. I don't think I'm able to call a function from itself, am I?
You can clear the error first, then call the function. However, this is an unusual thing to do. I'm following to see how you make out.
With Err Object there are two methods that you can also use.
Out the error handler within the Function.
Don’t have an account yet? Register yourself now and be a part of our community!