Exit-quit sub
I think you could turn macro2 into a function that returns either false or
true. You can let it true if you want to exit immediately. The exit is of
course done from macro1. If you get false, proceed in macro1
/Fredrik
"Tom" wrote in message
...
Hello,
if I have many sub like this:
Sub macro1()
....
macro2 (calling macro2)
....
End sub()
Sub macro2()
....
exit-quit ???
....
End sub()
And in macro2 I need quit-exit all subs, not only macro2 (like Exit sub
can
do it), can you help me?
tom
|