views:

395

answers:

1

I'm using Application run to call several macros in order like this.

Sub Run_All_Macros()
  Application.Run ("Macro_1")
  Application.Run ("Macro_1")
End Sub

When I start Run_All_Macros, all the macros run in parallel. Is there a way to wait for the first macro to complete before the second is started?

+1  A: 

If you step through the macros (Use F8) you should see that they are running in order and not simultaneously.

I use the step through method to watch exactly what is happening and in what order. I often find I've included an error in logic, or something else, that doesn't give the desired result.

guitarthrower
You were right, had missed something in my logic
noel_g