+ Reply to Thread
Results 1 to 3 of 3

command button dropdown

  1. #1
    Forum Contributor
    Join Date
    05-16-2010
    Location
    glasgow scothland
    MS-Off Ver
    Excel 2007
    Posts
    112

    command button dropdown

    hello,

    Is it possible to put command buttons in to a dropdown list.if you have more than 1 button on a sheet.can you make a list of these.Or is this a stupid question?.If it is i apologise.

  2. #2
    Forum Contributor
    Join Date
    06-09-2009
    Location
    Wales
    MS-Off Ver
    Excel 2003
    Posts
    155

    Re: command button dropdown

    To answer your question first, it sounds feasable that you could link the selection in the drop down to the code behind your button although it's not something I've attempted yet.

    A more straight forward method may be to create shortcut buttons on your toolbar?

  3. #3
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: command button dropdown

    Is it possible to put command buttons in to a dropdown list.
    No. This is not possible. A command button is a control object as is the drop down itself. Combox Box and List Box controls only accept a string (source/method) can vary as the list source for items in the list.

    if you have more than 1 button on a sheet.can you make a list of these
    It is possible to make a list of the buttons. However, it seems pointless to write code to create such a list since you can simply make one manually. If you have so many buttons that you need to automate the list creation, then you should take a close look at your design and look for opportuntities to improve it.
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

+ 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