Excel 2007 macros - how to merge 5 macros together into one

  • Thread starter Thread starter Sue
  • Start date Start date
S

Sue

i have several macros i want to put together as one macro. How do I do this
 
You will find it easier to read, troubleshoot, and change the macros if you
leave them as separate macros. But the choice is yours. You can merge all
the macros by simply pasting all the code together but you have to be sure
that the code still makes sense.
Or you can leave them as separate macros and run them from one macro, like
this:
Sub MainMacro
Call ThisMacro
Call ThatMacro
Call TheOtherMacro
End Sub
HTH Otto
 

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

Back
Top