LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default how do I create a macro that will activate other macros?

Thank you! I was missing the call part.

"Jim Thomlinson" wrote:

The standard way to do this is not to click on the other controls but rather
to run the code associated with those controls. So something like this...

sub LotsOfStuff()
Call DoThis
Call DoThat
end sub

sub DoThis()
msgbox "do this"
end sub

sub DoThat
msgbox "do that"
end sub

--
HTH...

Jim Thomlinson


"sbrigham" wrote:

I am trying to create a Macro that will click on controls that have macros
assigned, this isn't working so I want to know if there is a way to nest the
sub's into this macro.

 
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
Can a combo box activate different macros Carrie Excel Discussion (Misc queries) 1 June 5th 06 06:34 PM
Merge simple macros to create Complex macro oberon.black Excel Programming 7 September 2nd 05 05:02 PM
How do I create a macro that will activate the solver? Hjalti Excel Programming 3 January 13th 05 09:09 AM
Macro To Create Other Macros And Buttons Robert P. Stearns Excel Programming 0 January 6th 04 04:35 PM
Recording macro to activate other macros yippy[_2_] Excel Programming 4 January 6th 04 02:57 PM


All times are GMT +1. The time now is 08:26 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"