View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
luvgreen[_4_] luvgreen[_4_] is offline
external usenet poster
 
Posts: 1
Default If a called sub exit, how to the caller exit right away?

Good morning! I have a question to ask experts. The main sub will a sub2, if
there is error in sub2, sub2 will pop a message and exit. How can I make the
main sub exit right away without running other code behind calling sub2?
thanks.