Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / November 2006

Tip: Looking for answers? Try searching our database.

Excel Command Buttons

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Newbee - 21 Nov 2006 16:30 GMT
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 - 21 Nov 2006 17:03 GMT
You can create a macro that call all the others

Signature

Rodrigo Ferreira

>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 - 21 Nov 2006 17:30 GMT
Thank you!  Using the Call Run Code.

> You can create a macro that call all the others
>
[quoted text clipped - 3 lines]
> > 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 - 21 Nov 2006 18:01 GMT
Sub run_all()
    macro1
        macro2
    macro3
End Sub

Gord Dibben  MS Excel MVP

>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 - 21 Nov 2006 19:03 GMT
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.

> Sub run_all()
>      macro1
[quoted text clipped - 8 lines]
> >another way that I can run several macros in a sequence with one button.  
> >Instead of having to run them one at a time?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.