RobynC
Aerospace
- Jul 23, 2007
- 13
Hi, I'm quite new to VBA.
I have a main sub which calls other subs in order to run. If a condition in one of these Subs is met I want to exit the main sub. Using 'Exit Sub' just exits the internal sub rather than the whole program. I remember seeing how to do this somewhere a while back but can't remember where and can not find it again now. So my question is how do I do this?
I have a main sub which calls other subs in order to run. If a condition in one of these Subs is met I want to exit the main sub. Using 'Exit Sub' just exits the internal sub rather than the whole program. I remember seeing how to do this somewhere a while back but can't remember where and can not find it again now. So my question is how do I do this?