LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
J@Y J@Y is offline
external usenet poster
 
Posts: 127
Default what exactly does Exit sub do?

I have:

Sub A

Call Sub B

End Sub A

Sub B

On Error Goto ErrH
exit sub

ErrH:
.....

end Sub B

The exit sub seems to exit out of Sub A too. Why is that?
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Exit Sub Jeff Excel Discussion (Misc queries) 2 March 1st 08 06:21 PM
End and Exit Sub clara Excel Programming 3 May 17th 07 12:16 AM
Run when exit PH NEWS Excel Worksheet Functions 1 July 18th 06 03:53 PM
how to exit sub xiang Excel Programming 3 December 9th 05 05:46 AM
If a called sub exit, how to the caller exit right away? luvgreen[_4_] Excel Programming 4 February 24th 04 05:06 PM


All times are GMT +1. The time now is 06:05 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"