Hello,
I would like for the macro to read column K (11) down to my last row (lrow) and if the cell contains "Bus driver" and the same row in Column O (15) reads "$0.00" to highlight the cells.
Currently nothing is happening so I feel like I am way off. Any help would be appreciated!
My current macro reads:
If Range(Cells(lrow, 11), Cells(lrow, 11)) = "Bus Driver" And Range(Cells(lrow, 15), Cells(lrow, 15)) = "0.00" Then
Range(Cells(lrow, 11), Cells(lrow, 11)).Interior.ColorIndex = 15
Else
Range(Cells(lrow, 11), Cells(lrow, 11)).Interior.ColorIndex = xlNone
End If
I would like for the macro to read column K (11) down to my last row (lrow) and if the cell contains "Bus driver" and the same row in Column O (15) reads "$0.00" to highlight the cells.
Currently nothing is happening so I feel like I am way off. Any help would be appreciated!
My current macro reads:
If Range(Cells(lrow, 11), Cells(lrow, 11)) = "Bus Driver" And Range(Cells(lrow, 15), Cells(lrow, 15)) = "0.00" Then
Range(Cells(lrow, 11), Cells(lrow, 11)).Interior.ColorIndex = 15
Else
Range(Cells(lrow, 11), Cells(lrow, 11)).Interior.ColorIndex = xlNone
End If