Hi folks!
Title says it all, but to clarify, I have something like (simplified).
What I need is for the Exit Sub line to terminate both Macro2 and Macro1 without executing Macro3.![]()
Sub Marco1() Call Macro2 Call Macro3 End Sub Sub Macro2() If this Then do that Else Exit Sub End If End Sub
I have static variables that need to be preserved so using End is not an option.
I know that I can pass a Boolean back to the previous procedure, then use that to exit, but would like to know it there is a simple alternative method that mr google is hiding from me
Thanks in advance.
Bookmarks