Exiting a procedure part way through, then returning

R

rob nobel

Is there a way to leave a procedure part way through, going to the procedure
that called it and then returning to where it left off?
Rob
 
J

J.E. McGimpsey

No - once it returns to the calling procedure, it can only be
invoked again from the beginning.

However, if you were to put the code from the calling procedure into
a third Sub, both the calling and called procedures can call that
Sub when needed.
 
R

rob nobel

Pity, but thanks. Not quite like an old hand held computer I had once which
had Basic as its language and you could enter "Return" in the code.
Rob
 
Top