value of any cell in row 1 = 8 then colour the whole row
Thanks William, that works beautifully.
"William Benson" wrote in message
...
Hi JJ,
If Evaluate("=COUNTIF(A1:IV1,8)") 0 Then
'Yellow
Cells(1).EntireRow.Interior.ColorIndex = 6
Else
'None
Cells(1).EntireRow.Interior.ColorIndex = -4142
End If
"JJ" wrote in message
...
How would I do this please?
If the value of any cell in row 1 = 8 then colour the whole row light
yellow.
|