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 / New Users / December 2007

Tip: Looking for answers? Try searching our database.

replacing the Macro name with a variable

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
raikar.manish@gmail.com - 07 Dec 2007 13:24 GMT
Hi,

I have a sheet which contains 1 main macro and 19 sub macros.

from the main macro i need to call any one of the sub macros using the
call function.

However is there any way i can write the names of those 19 sub macros
in a cell and accordingly the macro should be called depending upon
what is the value in the cell.

like.

Call (value in the cell)             instead of          Call Macro1

Thnks in advance
Bob Phillips - 07 Dec 2007 14:26 GMT
Application.Run Range("A1").Value

Signature

---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

> Hi,
>
[quoted text clipped - 12 lines]
>
> Thnks in advance

Rate this thread:






 
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.