Run multiple Macros or macros from within other macros ?

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!
 
S

Sue Mosher [MVP]

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

Macro1
Macro2
Macro3

or

Call Macro1
Call Macro2
Call Macro3
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top