Exiting a procedure part way through, then returning

  • Thread starter Thread starter rob nobel
  • Start date Start date
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
 
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.
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top