Colouring cells automatically

  • Thread starter Thread starter Del
  • Start date Start date
D

Del

Is there a way of making a cell change colour automatically when I type a
certain number in i.e. 1 = red, 2 = green, etc.etc.
 
Use format>conditional formatting cellis if less than 4 conditions, else use
a worksheet_change event
 
Del said:
Is there a way of making a cell change colour automatically when I type a
certain number in i.e. 1 = red, 2 = green, etc.etc.
You want conditional formatting. Under Format click
conditional formatting. It's pretty simple from there.
If you need more help post back.

gls858
 
Del

Note only 3 options(4 if you count default) in CF.

If you need more, VBA is required.

etc.etc leads me to believe you need more.

Gord Dibben Excel MVP
 
Del

After absorbing some of the material at David's getting started site, check
out also his pages on Event macros.

http://www.mvps.org/dmcritchie/excel/event.htm

You would most likely use Worksheet_Change code for your purposes. David has
several examples of changing color depending upon value in a cell or cells.

Gord
 
Back
Top