Hi, how can I modify the below code to only color visible rows, but only columns A:R?
With ActiveSheet.UsedRange
.AutoFilter Field:=17, Criteria1:=Array("A", "B", "C", "D", "E"), Operator:=xlFilterValues
.Offset(1).SpecialCells(xlVisible).EntireRow.Interior.Color = 65535
.AutoFilter
End With
With ActiveSheet.UsedRange
.AutoFilter Field:=17, Criteria1:=Array("A", "B", "C", "D", "E"), Operator:=xlFilterValues
.Offset(1).SpecialCells(xlVisible).EntireRow.Interior.Color = 65535
.AutoFilter
End With