Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Sue Sue is offline
external usenet poster
 
Posts: 285
Default Excel 2007 macros - how to merge 5 macros together into one

i have several macros i want to put together as one macro. How do I do this
--
Sue
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,071
Default Excel 2007 macros - how to merge 5 macros together into one

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
"Sue" wrote in message
...
i have several macros i want to put together as one macro. How do I do this
--
Sue



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macros in Excel 2007 Michelle Excel Discussion (Misc queries) 3 March 7th 08 02:35 PM
Excel 2007 and macros Chimelle Excel Discussion (Misc queries) 5 September 7th 07 11:03 PM
Excel 2007 and Macros Rob[_4_] Excel Discussion (Misc queries) 4 April 19th 07 01:02 PM
Macros in Excel 2007 Graham Excel Discussion (Misc queries) 8 April 6th 07 11:59 PM
Training: More on how to use macros in Excel: Recording Macros ToriT Excel Worksheet Functions 2 February 10th 06 08:05 PM


All times are GMT +1. The time now is 04:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"