For i=1 to Lastrow
If cells(i,1).Worksheets("Name").Font.Name<> "Arial" then
cells(i,1).Entirerow.interior.colorindex= 3
Else cells(i,1).Entirerow.interior.colorindex= 2
End if
Next i
This code is not working for me. I want to check if font is Arial and if it is the don't do anything else highlight the row with red color. Please guide.