+ Reply to Thread
Results 1 to 3 of 3

Change color of all cells on sheet based off of one cell value

  1. #1
    Registered User
    Join Date
    05-06-2009
    Location
    Phoenix
    MS-Off Ver
    Excel 2003
    Posts
    13

    Change color of all cells on sheet based off of one cell value

    I've tried a handful of things to accomplish this and have hit a number of dead ends - I'm sure one one of you has seen this before though.

    I want to change the fill color of all cells on my sheet, based on the value of one specific cell. In my sheet, I am using cell F1 as the trigger for the change.

    If the word Blue is in the cell, I want the background color of all cells to be Blue. Likewise for Red and Yellow as well.

    I don't believe conditional formatting can get this done, as all but the one cell (for this) will be empty. Please let me know what ideas you have for getting this done.

    Thanks in advance.
    Last edited by Onyx; 05-11-2009 at 01:41 PM.

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Change color of all cells on sheet based off of one cell value

    Please see the attached.

    I've used data validation to restrict the set of values in the cell and an event driven macro that will perform the change. You will find the code on the Sheet1 tab in the VBA editor (Alt F11).

    Hope this helps.
    Attached Files Attached Files
    Martin

  3. #3
    Registered User
    Join Date
    05-06-2009
    Location
    Phoenix
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: Change color of all cells on sheet based off of one cell value

    Awesome, I believe that will work for me. Thank you for the quick response

+ 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