I have a worksheet where I have applied conditional formatting to color every other row.
But for some reason, this is only coloring empty cells, not the entire row.
I have tried to use the menu option too, but I get the same results. I am using a new computer with Excel 2016 installed.
Thanks
Code:
Sheets("Dealer").Select
With Range("A1").CurrentRegion
.FormatConditions.Add Type:=xlExpression, Formula1:="=MOD(ROW(),2)=1"
.FormatConditions(1).Interior.ColorIndex = 15
End With
But for some reason, this is only coloring empty cells, not the entire row.
I have tried to use the menu option too, but I get the same results. I am using a new computer with Excel 2016 installed.
Thanks
Last edited: