Is there anyway in excel 2003 to use more than 3 validation options. I need to use five and depending on whats entered have a cell chang colour. Its urgent but I need it to be simpel as I'm not very good at understanding what people mean all the time. Sorry.
2007-11-28
21:41:32
·
2 answers
·
asked by
Tiger
5
in
Computers & Internet
➔ Software
SORRY ITS CONDITIONAL FORMATTING IM USING
2007-11-28
21:45:47 ·
update #1
I came across this on yahoo.
CODE BY Castalian Tourist
Sub ColorCoding()
Dim rngCell As Range
For Each rngCell In Selection
rngCell.Offset(0, 1).Interior.ColorIndex = xlNone
If IsNumeric(rngCell.Value) And Len(rngCell) > 0 Then
Select Case rngCell.Value
Case Is > 4
rngCell.Offset(0, 1).Interior.Color = vbBlue
Case 3 To 4
rngCell.Offset(0, 1).Interior.Color = vbRed
Case 2 To 3
rngCell.Offset(0, 1).Interior.Color = vbYellow
Case 0 To 2
rngCell.Offset(0, 1).Interior.Color = RGB(255, 140, 0)
End Select
End If
Next rngCell
End Sub
What I want to do is make the colour appear in same cell where the condition is met. also make it run automaticly, could anyone help me please
2007-11-29
00:23:30 ·
update #2