![]() |
macros
Hi, I have recorded a number of macros in a worksheet, How can i combine these macros together, instead of running each macro i want to just run one macro. It was too big of a job to record one big macro. Thanks -- andy_ ------------------------------------------------------------------------ andy_'s Profile: http://www.excelforum.com/member.php...o&userid=32218 View this thread: http://www.excelforum.com/showthread...hreadid=519702 |
macros
Create a new procedure in any of the existing modules you may have in your
work book and just list the names of the macros you wish to run, in the order that they are to be run in. Sub RunEmAll() MacroName1 MacroName2 MacroName3 End Sub Then run your new procedure to execute them all. -- Kevin Backmann "andy_" wrote: Hi, I have recorded a number of macros in a worksheet, How can i combine these macros together, instead of running each macro i want to just run one macro. It was too big of a job to record one big macro. Thanks -- andy_ ------------------------------------------------------------------------ andy_'s Profile: http://www.excelforum.com/member.php...o&userid=32218 View this thread: http://www.excelforum.com/showthread...hreadid=519702 |
macros
Ok, now i have just lost my macros, It said something about personal.xls needs to be open in the startup, but cant find it..... -- andy_ ------------------------------------------------------------------------ andy_'s Profile: http://www.excelforum.com/member.php...o&userid=32218 View this thread: http://www.excelforum.com/showthread...hreadid=519702 |
macros
On Tue, 7 Mar 2006 05:40:30 -0800, Kevin B
wrote: Create a new procedure in any of the existing modules you may have in your work book and just list the names of the macros you wish to run, in the order that they are to be run in. Sub RunEmAll() MacroName1 MacroName2 MacroName3 End Sub Then run your new procedure to execute them all. How do you refer to macros in a different module and or .xls file -- Steve |
macros
referring to a macro in a different module is not normally a problem although
it is possible to have a macro with the same name in two different modules and refer to the specific macro -- not recommended. To refer to a macro in another workbook, see http://www.mvps.org/dmcritchie/excel...ll.htm#another that also shows how to be specify a module --- HTH, David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001] My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm Search Page: http://www.mvps.org/dmcritchie/excel/search.htm "Steve Walton" wrote in message ... On Tue, 7 Mar 2006 05:40:30 -0800, Kevin B wrote: Create a new procedure in any of the existing modules you may have in your work book and just list the names of the macros you wish to run, in the order that they are to be run in. Sub RunEmAll() MacroName1 MacroName2 MacroName3 End Sub Then run your new procedure to execute them all. How do you refer to macros in a different module and or .xls file -- Steve |
All times are GMT +1. The time now is 02:21 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com