A
Adrian
If Procedure1() calls Procedure2(), such as:
===============================
Sub Procedure1()
'........Do something here
Call Procedure2()
'........Do some more things here
End Sub
=================================
If I have error handling in Procedure2() that causes it to exit the
procedure on an error, what is the best way to ensure it exits Procedure1()
immediately without running any more code? I could put no error handling in
Procedure2(), and allow the errors to be handled by procedure1(), but I am
guessing there must be a better way.
Thanks for any help.
Adrian
===============================
Sub Procedure1()
'........Do something here
Call Procedure2()
'........Do some more things here
End Sub
=================================
If I have error handling in Procedure2() that causes it to exit the
procedure on an error, what is the best way to ensure it exits Procedure1()
immediately without running any more code? I could put no error handling in
Procedure2(), and allow the errors to be handled by procedure1(), but I am
guessing there must be a better way.
Thanks for any help.
Adrian