ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Excel Command Buttons (https://www.excelbanter.com/excel-worksheet-functions/119657-excel-command-buttons.html)

Newbee

Excel Command Buttons
 
I am trying to create a command button that will run a series of macros.
However the command button will only allow me to assign one macro. What is
another way that I can run several macros in a sequence with one button.
Instead of having to run them one at a time?

Newbee

Excel Command Buttons
 
Thank you! Using the Call Run Code.


"Rodrigo Ferreira" wrote:

You can create a macro that call all the others

--

Rodrigo Ferreira


"Newbee" escreveu na mensagem
...
I am trying to create a command button that will run a series of macros.
However the command button will only allow me to assign one macro. What
is
another way that I can run several macros in a sequence with one button.
Instead of having to run them one at a time?





Rodrigo Ferreira

Excel Command Buttons
 
You can create a macro that call all the others

--

Rodrigo Ferreira


"Newbee" escreveu na mensagem
...
I am trying to create a command button that will run a series of macros.
However the command button will only allow me to assign one macro. What
is
another way that I can run several macros in a sequence with one button.
Instead of having to run them one at a time?




Gord Dibben

Excel Command Buttons
 
Sub run_all()
macro1
macro2
macro3
End Sub


Gord Dibben MS Excel MVP

On Tue, 21 Nov 2006 08:30:02 -0800, Newbee
wrote:

I am trying to create a command button that will run a series of macros.
However the command button will only allow me to assign one macro. What is
another way that I can run several macros in a sequence with one button.
Instead of having to run them one at a time?



Newbee

Excel Command Buttons
 
Application.run seems to be working fine. I don't know why I didn't think of
this I guess I'm just to bogged down in the details.

"Gord Dibben" wrote:

Sub run_all()
macro1
macro2
macro3
End Sub


Gord Dibben MS Excel MVP

On Tue, 21 Nov 2006 08:30:02 -0800, Newbee
wrote:

I am trying to create a command button that will run a series of macros.
However the command button will only allow me to assign one macro. What is
another way that I can run several macros in a sequence with one button.
Instead of having to run them one at a time?





All times are GMT +1. The time now is 06:15 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com