right click sheet tabview codeinsert thischange color numbers to
suitSAVE
Now it will work for the active row and col C
Private Sub Worksheet_Change(ByVal Target As Range)
Select Case Cells(Target.Row, "c")
Case Is = "dog": x = 3
Case Is = "cat": x = 4
Case Else
End Select
Target.EntireRow.Interior.ColorIndex = x
End Sub
--
Don Guillett
SalesAid Software
"sea0221" wrote in message
...
How do I format a cell with varibles to hightlight a row if a cell in that
specific row is a specific number or word?
Example:
If cell C4 is dog, then hightlight the row blue, if the cell C4 is cat,
then
hightlight the row green, if cell C4 is bird, then hightlight the row
yellow.
Hope this is clear.