PC Review


Reply
Thread Tools Rate Thread

Conditional format color change

 
 
SoggyCashew
Guest
Posts: n/a
 
      3rd Jan 2010
Hello, I wanted to use conditional formatting and need help with the formula.
I have a range of cells B1:CM2 that are green “Color 10” with a white font.
I want if the cell color changes to light yellow “Color 36” then the font
would be black and if the color changed to white then it would change back to
green “Color 10” with a white font. How can I do this?
--
Thanks,
Chad
 
Reply With Quote
 
 
 
 
מיכאל (מיקי) אבידן
Guest
Posts: n/a
 
      3rd Jan 2010
I'm not familiar, yet, with a change_Interior_Color Event and I don't know
how your " cell color changes" ?
However, one way is to run a loop on all your 180 cells > check their
Interior Color and change it as requested.
This can be easily done by a WorkSheet_SelectionChange event macro which
will "fire" when a different cell is selected.
Micky


"SoggyCashew" wrote:

> Hello, I wanted to use conditional formatting and need help with the formula.
> I have a range of cells B1:CM2 that are green “Color 10” with a white font.
> I want if the cell color changes to light yellow “Color 36” then the font
> would be black and if the color changed to white then it would change back to
> green “Color 10” with a white font. How can I do this?
> --
> Thanks,
> Chad

 
Reply With Quote
 
dlw
Guest
Posts: n/a
 
      3rd Jan 2010
You can use conditional formatting to change the format based on the value of
a cell, not on the format of a cell.
for example:
if B1=7 then change font color to black - doable
if the background color of B1 = Color 36 then change font color to black -
can't do

"SoggyCashew" wrote:

> Hello, I wanted to use conditional formatting and need help with the formula.
> I have a range of cells B1:CM2 that are green “Color 10” with a white font.
> I want if the cell color changes to light yellow “Color 36” then the font
> would be black and if the color changed to white then it would change back to
> green “Color 10” with a white font. How can I do this?
> --
> Thanks,
> Chad

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional format color is set correct, yet color will not change Mark Microsoft Excel Worksheet Functions 12 5th Feb 2009 12:08 AM
Conditional format: change row color based on cell value Carelle Microsoft Excel Misc 2 3rd Jan 2008 09:26 PM
change color of entire row by use conditional format =?Utf-8?B?TW9udHU=?= Microsoft Excel Worksheet Functions 2 15th Nov 2007 10:02 AM
Re: How do you use conditional format to change a bar color on a char. Bernard Liengme Microsoft Excel Charting 0 10th Jan 2007 06:06 PM
Conditional Format, Change Color of Control ?? Gulf Coast Electric Microsoft Access Forms 1 29th Oct 2003 05:09 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:26 AM.