M
Mat Child
Hi,
I have a 'primary' sub (well more than one but i digress) which as part of
it's run, calls other 'secondary' subs, then continues when they have
finished.
However there are times when i don't want the primary sub to continue
running after the secondary has completed.
Previously i would simply insert an END command at the appropriate point in
the secondary sub to halt the code.
However I since i implemented a method of opening multiple instances of the
same form (From Allen Browne's excellent web-site) i can lo longer use an END
statement as it resets the VBA code causing all instances of the multiple
form to close.
Is there any other command to exit or halt the code without resetting it or
returning control to the previous sub?
I have a 'primary' sub (well more than one but i digress) which as part of
it's run, calls other 'secondary' subs, then continues when they have
finished.
However there are times when i don't want the primary sub to continue
running after the secondary has completed.
Previously i would simply insert an END command at the appropriate point in
the secondary sub to halt the code.
However I since i implemented a method of opening multiple instances of the
same form (From Allen Browne's excellent web-site) i can lo longer use an END
statement as it resets the VBA code causing all instances of the multiple
form to close.
Is there any other command to exit or halt the code without resetting it or
returning control to the previous sub?