Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() 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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Case without Select Case error problem | Excel Discussion (Misc queries) | |||
VBA Proper Case Code | Excel Programming | |||
Error in code re case construction | Excel Programming | |||
2 x Case // Error why ? | Excel Programming | |||
Proper case code not working right | Excel Programming |