+ Reply to Thread
Results 1 to 7 of 7

Excel color retrive with drop down list

  1. #1
    Registered User
    Join Date
    10-13-2015
    Location
    cyprus
    MS-Off Ver
    2013
    Posts
    3

    Excel color retrive with drop down list

    Hi i created an excel file with Cyprus League teams. I made a drop down list with these teams in a sheet named teams. i colored each team with its official color. i have a separate sheet named rounds. when i select two teams for example it does not come with the color as created.any idea of how to retrieve color also?

    attached is a sample picture of what i mean

    thanks a lot
    Attached Images Attached Images

  2. #2
    Registered User
    Join Date
    08-22-2016
    Location
    Copenhagen, Denmark.
    MS-Off Ver
    Excel 2016
    Posts
    28

    Re: Excel color retrive with drop down list

    Hi there,

    You can't really get the formatting into the cell directly from the drop-down list, but you can do it with conditional formatting.

    1) Select the cell with the drop-down list
    2) Home tab --> Conditional formatting --> highlight rules --> text that contains
    3) Here select the first cell that holds the name of a team
    4) Click the drop-down list next to the field that currently says "Light Red Fill with Dark Red Text" and click 'Custom format'
    5) Format the cell

    Now do this for each team, everytime selecting the next team in 3)

  3. #3
    Registered User
    Join Date
    10-13-2015
    Location
    cyprus
    MS-Off Ver
    2013
    Posts
    3

    Re: Excel color retrive with drop down list

    hi Kasper,

    thanks for your reply,

    i have already did that. i was wondering i can do what i described above.
    thanks anyway for your effort

  4. #4
    Registered User
    Join Date
    08-22-2016
    Location
    Copenhagen, Denmark.
    MS-Off Ver
    Excel 2016
    Posts
    28

    Re: Excel color retrive with drop down list

    Alright.

    Well, it is possible with VBA.

    Can you upload the file?

  5. #5
    Registered User
    Join Date
    10-13-2015
    Location
    cyprus
    MS-Off Ver
    2013
    Posts
    3

    Re: Excel color retrive with drop down list

    hi Kapser,

    please find attached.
    names are in Greek but i don't think that this will be a problem.
    thanks a lot
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    08-22-2016
    Location
    Copenhagen, Denmark.
    MS-Off Ver
    Excel 2016
    Posts
    28

    Re: Excel color retrive with drop down list

    Hi there,

    I hope maybe someone else could pitch in.

    The problem is that I'm creating a macro that runs on an event (when the cell content is changed via the drop-down). And when that is changed, the code runs which also changes the content of the cell. So I'm getting some errors on it.

    Are there someone that can think of a fix?

  7. #7
    Valued Forum Contributor Lemice's Avatar
    Join Date
    04-13-2013
    Location
    Somewhere.
    MS-Off Ver
    Excel 2016
    Posts
    696

    Re: Excel color retrive with drop down list

    Did you try
    Please Login or Register  to view this content.
    (copy pasta from Ford)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools

    Regards,
    Lem

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Color Drop Down List Message Box
    By ajocius in forum Excel General
    Replies: 2
    Last Post: 10-06-2014, 08:57 AM
  2. Color Image in Drop Down List
    By adman42 in forum Excel General
    Replies: 14
    Last Post: 07-04-2014, 09:36 AM
  3. Excel 2007 : How to Create a Color Drop Down List
    By Kath7889 in forum Excel General
    Replies: 1
    Last Post: 09-25-2011, 02:46 PM
  4. How to Create a Color Drop Down List
    By Kath7889 in forum Excel General
    Replies: 2
    Last Post: 09-24-2011, 05:22 PM
  5. help to highlight/color a drop-down list
    By alancauchi in forum Excel General
    Replies: 3
    Last Post: 12-30-2009, 09:52 AM
  6. How to very color in drop down list
    By cat123 in forum Excel General
    Replies: 2
    Last Post: 05-15-2007, 10:18 AM
  7. Drop down list (color)
    By jimz97 in forum Excel General
    Replies: 1
    Last Post: 03-14-2007, 11:36 AM

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