Changing the color of a cell

  • Thread starter Thread starter Nigel
  • Start date Start date
N

Nigel

Is there any way to program it so a cell changes color
based on the value in the cell,

ie the value is <10 the cell is blue
the value <20 its red

etc

thanks
 
Hi Nigel,
Try using Format/Conditional Formatting/
you can then input your conditions and the color you want
the cell to change to based on the user input. Copy the
formatting down throughout the entire range you want
impacted.

HTH
 
Perfect Thanks

Nigel
-----Original Message-----
Hi Nigel,
Try using Format/Conditional Formatting/
you can then input your conditions and the color you want
the cell to change to based on the user input. Copy the
formatting down throughout the entire range you want
impacted.

HTH

.
 
In the absence of another reply :-

Format/Custom allows 3 format options, otherwise you will need a macr
in the Change event of the sheet. There are lots of examples around.

Private Sub Worksheet_Change(ByVal Target As Excel.Range
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top