+ Reply to Thread
Results 1 to 7 of 7

how to make a drop-down of all the macros?

  1. #1
    Forum Contributor
    Join Date
    12-03-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    107

    how to make a drop-down of all the macros?

    Hi i'm having this problem i've tried tinkering with the vba buttons but i cant seem to find out how to do this. So i have a sheet that has different macros depending on the customer's product type. Let's say you have product1 you click the macro and the whole sheet changes. At first i did separate buttons but when it got to around product6, product8 my sheet is starting to become cluttered. How do you do it that there's just one dropdown box that when you click, all the macros will be there? I apologize since i am a beginner in VBA.

  2. #2
    Forum Contributor
    Join Date
    12-03-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    107

    Re: how to make a drop-down of all the macros?

    bump, i hope someone answers i really need help,..

  3. #3
    Valued Forum Contributor
    Join Date
    02-09-2012
    Location
    Mauritius
    MS-Off Ver
    Excel 2007
    Posts
    1,055

    Re: how to make a drop-down of all the macros?

    Hi.

    Post a sample file.
    Click *, if my suggestion helps you. Have a good day!!

  4. #4
    Forum Contributor
    Join Date
    12-03-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    107

    Re: how to make a drop-down of all the macros?

    Hi, thanks for your reply.

    Here is an example: burger taco hotdog.xlsm

    So in this example you will click the macro that you want, whether it's a taco, burger, or a hotdog and clicking each will give a specific set of list that the customer has to fill out. So instead of putting out individual buttons for HOTDOG, TACO, AND BURGER, i would want to have just one drop down box that will contain all three. How is that done?
    Last edited by kjy1989; 01-28-2013 at 06:29 AM.

  5. #5
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: how to make a drop-down of all the macros?

    Pl See the attached file.
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    12-03-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    107

    Re: how to make a drop-down of all the macros?

    Wow that works great thanks!

    I have a question though, i understood the worksheet_change event that you made the target the J4 cell but how did you make that cell into a drop down list? I am trying to find out right now but i am having a hard time. I really am a VBA beginner here and i appreciate your help!



    edit* did some research and managed to make it work. Thank you sir!
    Last edited by kjy1989; 01-28-2013 at 10:00 PM.

  7. #7
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: how to make a drop-down of all the macros?

    Thanks.
    Pl mark the thread SOLVED.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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