+ Reply to Thread
Results 1 to 3 of 3

Mutiple Macros from Dropdown list?

  1. #1
    Registered User
    Join Date
    09-05-2010
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    8

    Thumbs up Mutiple Macros from Dropdown list?

    Hi, Firstly i hope my title is good enough as ive seen many threads with bad titles.

    i want to run a different macro for each of the selections in a dropdown list (combobox?), ive searched the web & found examples but some reason i couldn't get them to work, i was hoping i could ask the experts on this forum. it seems to be a simple task, so hoping to very quick response from you guys

    my Macros are: HideComments & Unhidecomments.

    It needs to work in both Excel 2003 & Execel 2010 as im doing it for work which uses 2003.

    i would also like to ask a unrelated question but unsure if thats allowed here, so i will wait for a response & hoping you can tell me if i need a new thread.

    Thank you for your time.
    Smogsy.
    Last edited by smogsy; 09-05-2010 at 06:34 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Mutiple Macros from Dropdown list?

    Use a change event on the sheet containing the DV list with an appropriate method to invoke based on value (eg Application.Run value)

    Consider DV cell is B3 on Sheet1... with List Source as Macro1,Macro2

    Please Login or Register  to view this content.
    You might want to consider handling events etc depending on what the various routines are doing (if just comments related then Events should not be an issue)

  3. #3
    Registered User
    Join Date
    09-05-2010
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Mutiple Macros from Dropdown list?

    i love you :D

    so as long as the Macro name matches the DV list everything is perfect?
    Last edited by smogsy; 09-05-2010 at 06:34 AM. Reason: Solved

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1