Hi All
I'm having a bad day, been trying to do the below using conditional formatting and cant get it right.
How do I adapt the blow to highlight only columns A-L rather than th whole row?
kind regards
Paul
I'm having a bad day, been trying to do the below using conditional formatting and cant get it right.
How do I adapt the blow to highlight only columns A-L rather than th whole row?
kind regards
Paul
Code:
Sub color()
Dim color As Integer
For Each cell In Sheet2.Range("A2:A65536")
If IsEmpty(cell) Then GoTo nextcell:
If Not IsNumeric(cell.Value) Then GoTo nextcell:
If cell.Value > 0 Then
color = 37
End If
cell.EntireRow.Interior.ColorIndex = color
nextcell:
Next cell
End Sub