Results 1 to 5 of 5

Thread: Enable CommandButton Only By Selecting The Name Of The Procedure In A Dropdown List

  1. #1
    Member
    Join Date
    Apr 2014
    Posts
    45
    Rep Power
    0

    Enable CommandButton Only By Selecting The Name Of The Procedure In A Dropdown List

    I have a sheet with some macro commandbuttons, and in A1 dropdown list is the name of the corresponding macro name run by the commandbutton,

    i would like if I choose Macro_01 from the list, the other macro buttons will be disabled except macro_01 commandbutton,

    how can this be done? thank you for any help
    Last edited by mrprofit; 04-24-2014 at 11:02 PM.

  2. #2
    Administrator Excel Fox's Avatar
    Join Date
    Mar 2011
    Posts
    1,401
    Rep Power
    10
    The answer will depend on whether your commandbuttons are activex controls, or form controls. Can you post a sample file with a couple of controls?
    A dream is not something you see when you are asleep, but something you strive for when you are awake.

    It's usually a bad idea to say that something can't be done.

    The difference between dream and aim, is that one requires soundless sleep to see and the other requires sleepless efforts to achieve

    Join us at Facebook

  3. #3
    Member
    Join Date
    Apr 2014
    Posts
    45
    Rep Power
    0
    Last edited by DocAElstein; 10-26-2023 at 12:25 PM.

  4. #4
    Member p45cal's Avatar
    Join Date
    Oct 2013
    Posts
    94
    Rep Power
    11
    How about only have one button and change what it does according to what's in B3.
    See file attached for one (quick and dirty) way.
    Attached Files Attached Files
    Last edited by p45cal; 04-25-2014 at 03:15 PM.

  5. #5
    Member
    Join Date
    Apr 2014
    Posts
    45
    Rep Power
    0
    This works better than what i plan to do, thank you

Similar Threads

  1. Replies: 2
    Last Post: 07-28-2013, 09:29 AM
  2. How To Close A UserForm With A CommandButton
    By jeff in forum Excel Help
    Replies: 8
    Last Post: 07-21-2013, 12:37 PM
  3. Dynamic Dependent Dropdown List Filter
    By william516 in forum Excel Help
    Replies: 2
    Last Post: 07-09-2013, 09:21 PM
  4. List of Dates In DropDown Starting From Today()
    By rich_cirillo in forum Excel Help
    Replies: 5
    Last Post: 04-10-2013, 05:58 PM
  5. Replies: 5
    Last Post: 11-28-2012, 06:37 PM

Posting Permissions

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