Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 18
Default Create Drop Down List of Macros

Hello,

I'm using excel 2002.

I have 12 macros and I want to create a drop down list for these such that
when any one of the macro is selected from the list the procedure for that
macro is executed.

Any help would be greatly appreciated.

Regards,
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 915
Default Create Drop Down List of Macros

Youlan wrote:
Hello,

I'm using excel 2002.

I have 12 macros and I want to create a drop down list for these such that
when any one of the macro is selected from the list the procedure for that
macro is executed.

Any help would be greatly appreciated.

Regards,


Do they appear when you pres Alt+F8?
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Create Drop Down List of Macros

You "want" this or just some way of accessing your macros?

To do what you want could be done with event code and some Case statements.

Might be easier to create a UserForm with a menu of 12 items.

Or a floating Toolbar with 12 buttons on it.

But.........event code it is.

With a DV dropdown list of your macros in A1

Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Me.Range("A1")) Is Nothing Then Exit Sub

Select Case Target.Value
Case "A" 'more descriptive names should be used in place of A, B and C
AMacro
Case "B"
BMacro
Case "C"
CMacro
'add more to suit
End Select

End Sub


Gord Dibben MS Excel MVP

On Fri, 23 Oct 2009 14:55:02 -0700, Youlan
wrote:

Hello,

I'm using excel 2002.

I have 12 macros and I want to create a drop down list for these such that
when any one of the macro is selected from the list the procedure for that
macro is executed.

Any help would be greatly appreciated.

Regards,


Reply
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
Drop down lists that auto create and then filter the next drop down list [email protected] Excel Worksheet Functions 2 September 30th 07 11:53 AM
Create a list in a drop down dependent upon another dd list in exc fyrefox Excel Discussion (Misc queries) 1 August 9th 07 08:46 PM
ASSIG MACROS TO DROP DOWN LIST CaOrAl Excel Discussion (Misc queries) 7 January 6th 07 11:28 AM
Delete key not enabled on macros drop down list carol49 Excel Discussion (Misc queries) 3 August 27th 06 08:43 PM
Can I create a drop-down list that will reference other drop-down fdebelo Excel Worksheet Functions 3 January 7th 06 09:34 AM


All times are GMT +1. The time now is 08:20 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"