View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Fayyaadh Ebrahim Fayyaadh Ebrahim is offline
external usenet poster
 
Posts: 10
Default colour cell on condition

On Apr 28, 5:24 pm, pswanie wrote:
hey
i need a code wich will change the collour of a cell when the user enter the
word "off".
so when he enter "off" in c5 i need c5 to turn bright yelow..
(will this go in the worksheet change?)


Try Conditional Formatting.

Go to Format - Conditional Formatting

If cell value is equal to off, then click "Format...", go to the
Patterns tab and change the color to a bright yellow.