+ Reply to Thread
Results 1 to 3 of 3

On Dashboard, highlight parts of image- like one state out of the USA depending on conditi

  1. #1
    Registered User
    Join Date
    07-30-2012
    Location
    Arlington, TX
    MS-Off Ver
    Excel 2010
    Posts
    47

    On Dashboard, highlight parts of image- like one state out of the USA depending on conditi

    Trying to set up a dashboard that would allow me to change the color of an image when a certain condition exists. For instance, the attached photo shows some states are a different color depending on the data. Does anyone know how to do this or can offer a good video/resource?

    states.gif

  2. #2
    Valued Forum Contributor tlafferty's Avatar
    Join Date
    04-08-2011
    Location
    United States, Tacoma, WA
    MS-Off Ver
    Excel 2010, Excel 2013 Customer Preview
    Posts
    1,112

    Re: On Dashboard, highlight parts of image- like one state out of the USA depending on con

    I can think of a time consuming way to do this:
    Hand draw the outline of each state using the free form drawing tool in Excel's object set.
    Give each state a name using the name manager.
    Set up a table of values representing where you'd like each color change to occur.
    in column one, place the value (ie 10%, 25%, or whatever you'd like)
    in columns 2, 3 and 4, place the corresponding color number you'd like to use for a fill (you can use the macro recorder to get these numbers)
    Set up a loop in your macro to lookup the fill color and apply it. Here's a sample of how to change the fill color of a selected shape:
    Please Login or Register  to view this content.
    If your question has been satisfactorily addressed, please consider marking it solved. Click the Thread Tools dropdown and select Mark thread as solved.
    Also, you might want to add to the user's reputation by clicking the star icon in the lower left corner of the post with the answer- it's why we do what we do...

    Thomas Lafferty
    Analyst/Programmer

  3. #3
    Registered User
    Join Date
    07-30-2012
    Location
    Arlington, TX
    MS-Off Ver
    Excel 2010
    Posts
    47

    Re: On Dashboard, highlight parts of image- like one state out of the USA depending on con

    Sounds complicated... I think I will just use a graph! Thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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