Activate the cell of interest.
Activate the option Format|Conditional Formatting.
On the Conditional Formatting dialog, select Formula is and enter for
Condition 1
=A1<=25
Activate Format, select Red via Color on Fonts tab.
For Condition 2 (again Formula Is) enter:
=A1>25
Select Green.
Aladin
Geoff,
Private Sub Worksheet_Change(ByVal Target As Range)
If [A1] =<25 Then
[A1].Font.ColorIndex = vbRed
End If
If [A1] >=26 Then
[A1].Font.ColorIndex = vbGreen
End If
End Sub
Jim
Just apply the following custom number format
using the Format | Cells... menu command:
[Red][<=25]General;[Green]General