View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
JNW JNW is offline
external usenet poster
 
Posts: 480
Default Code running order

Try:

Sub master()
call sub1
end sub

sub sub1()
...code...
call sub2
end sub

etc.....

"Santiago" wrote:

Hi guys,

I'm quite new on this so probably this is too easy...
how can I make some Subs run in order but winting for the previous one to
finish what it is doing? for example:

call SUB1
call SUB2
call SUB3

I want each sub to start when the last one finishes executing. is this
possible?

I could put the "call SUB2" inside SUB1 (at the end) and that would maybe
solve it, but not in all cases...

Thanks & Bregards

Santiago