View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.programming
BEEJAY BEEJAY is offline
external usenet poster
 
Posts: 247
Default End Sub, End complete procedure

Greetings All:
"end" does the trick
"Exit Sub" - Good to know.
Thank-you


"Chip Pearson" wrote:

The Exit Sub statement will exit the current procedure and return
to the called procedure.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"BEEJAY" wrote in message
...
Have stumbled on the fact that I can use "end sub" (with
message box) if that
process is not to continue.
I have other message boxes that are to exit the complete
procedure, which
consists of 12+ "call" routines.
How do I "cancel" the balance of the routine OR jump to the end
of the
routine?