+ Reply to Thread
Results 1 to 5 of 5

Combo Box - Drop Down Menu with Colors

  1. #1
    Registered User
    Join Date
    07-22-2010
    Location
    Ontario
    MS-Off Ver
    Excel 2003
    Posts
    71

    Combo Box - Drop Down Menu with Colors

    Hi There,

    I need your help in creating a unique Macro that would allow for a drop down menu with the colors specified below (rather than text) on a userform, that would have the color appear in the list and the user to be able to select a color.

    For example in the drop menu:

    Red
    Blue
    Green
    Yellow

    Any help with this is greatly appreciated.

    Much thanks in advance,

    Cheers,

    Jay
    Last edited by jason_kelly; 12-21-2010 at 04:47 PM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Combo Box - Drop Down Menu with Colors

    What do you mean by drop down menu?
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Valued Forum Contributor jwright650's Avatar
    Join Date
    12-10-2010
    Location
    Va, USA
    MS-Off Ver
    Excel 2003, Excel 2010
    Posts
    606

    Re: Combo Box - Drop Down Menu with Colors

    Can you use some of this to build a userform to suit your needs? I use this to fillcolor the active cell, and it also returns the color index number in a msg box so that you know the number of the color. See attached.
    Attached Files Attached Files
    Life is like a roll of toilet paper. The closer it gets to the end, the faster it goes.
    John Wright

  4. #4
    Registered User
    Join Date
    07-22-2010
    Location
    Ontario
    MS-Off Ver
    Excel 2003
    Posts
    71

    Re: Combo Box - Drop Down Menu with Colors

    Cool!

    That will do.

  5. #5
    Valued Forum Contributor jwright650's Avatar
    Join Date
    12-10-2010
    Location
    Va, USA
    MS-Off Ver
    Excel 2003, Excel 2010
    Posts
    606

    Re: Combo Box - Drop Down Menu with Colors

    Quote Originally Posted by jason_kelly View Post
    Cool!

    That will do.
    Excellent!

+ 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