Hi All,
I have a procedure A which calls a procedure B. Now, in case an happens
an error happens in Procedure B I want to exit the whole VBA (I want
even the Produre A should stop running).
If I simply put On error Exit Sub in Procedure B, the program exists B
and comes back to A and runs the other statements in A.
In short is there something like Exit Sub which applies to the all the
Procedures in code. I tried Application.Quit which closes excel
Alltogether (which is not right)
Help is appreciated.
Thanks a lot
Ankur
www.xlmacros.com