A
Arthur
SubB is called from SubA. My problem is the return to SubA
seems to occur prematurely - before executing all the code
in SubB. I cannot see anything in SubA or SubB to cause
this.
I placed a messagebox as the last line of code in SubB
just to see if it was getting there. Sure enough - no
Messagebox pops up in runtime. Aha, now I'm on to
something, right?
To debug it further, I placed a breakpoint at Call SubB,
and stepped the rest of the way through SubB. Here's what
happens - EVERY LINE of SubB code executes in step mode,
right up through the messagebox. Honest!
I'm baffled. Any ideas?
Art
seems to occur prematurely - before executing all the code
in SubB. I cannot see anything in SubA or SubB to cause
this.
I placed a messagebox as the last line of code in SubB
just to see if it was getting there. Sure enough - no
Messagebox pops up in runtime. Aha, now I'm on to
something, right?
To debug it further, I placed a breakpoint at Call SubB,
and stepped the rest of the way through SubB. Here's what
happens - EVERY LINE of SubB code executes in step mode,
right up through the messagebox. Honest!
I'm baffled. Any ideas?
Art