LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,090
Default Calling a macro

Excel XP, Win XP
I have a number of macros, say Able, Baker, Charlie, etc.
I have a variable named MacroToRun as string.
I have code that sets the value of MacroToRun as, say, "Charley".
I want to run the macro whose name is in the variable MacroToRun.
How do I call that macro?
Thanks for your time. Otto


 
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
calling next macro Michelle Hanan Excel Programming 1 July 18th 06 06:17 PM
calling a macro jhahes[_25_] Excel Programming 6 August 4th 05 12:22 AM
Calling a variable macro Hari Prasadh[_2_] Excel Programming 2 July 30th 05 09:28 AM
Calling a macro from a key RWN Excel Programming 0 February 8th 05 05:19 AM
Calling macro in add-in. Clark B Excel Programming 1 July 24th 03 11:05 PM


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