You can use the End statement. Be aware that it clears all variables as
well as ending code execution.
--
Jim
"Raman325" wrote in
message ...
|
| I have a subroutine which calls another subroutine. The child subroutine
| has an error mechanism that displays a message and then is supposed to
| exit out of the subroutine. Exit Sub only works for the child
| subroutine, however, and the main subroutine which called the child
| subroutine still runs. Is there a call or command to exit out of
| everything? Thanks in advance.
|
|
| --
| Raman325
| ------------------------------------------------------------------------
| Raman325's Profile:
http://www.excelforum.com/member.php...o&userid=24748
| View this thread:
http://www.excelforum.com/showthread...hreadid=544854
|