Run multiple Macros or macros from within other macros ?

  • Thread starter Thread starter vbaNEWBIE
  • Start date Start date
V

vbaNEWBIE

I would like to run multiple macros at startup. What code should be used in
the Private Sub Application_Startup command in the ThisOutlookSession area ?

If the names of my macros were below what would the code to look like ?
Macro1
Macro2
Macro3

I have looked at the samples from previous posts and cannot determine how to
make them apply specifically to my needs.

In Excel you can use the Run "Macro1" line and it would run that macro. Run
does not work in Outlook I suppose because I kept getting an error.

****
Also - What code is needed to execute a macro from within a different macro
in the same Module ? Once again, Run would not work. What code is needed if
you wanted to run a different macro that was located inside a different
Module ?

Thoughts ?

Thanks!
 
Just use the macro name or prefix it with Call, e.g.:

Macro1
Macro2
Macro3

or

Call Macro1
Call Macro2
Call Macro3
 
Back
Top