I have few cells colored in Range ("I1:I100"). I need to color the entire row .I have VBA recorded for that but it shows some error.
ActiveSheet.Range("I1:I100").AutoFilter Field:=1, Criteria1:=RGB(255, 255 _
, 0), Operator:=xlFilterCellColor
Rows.Activate.Select
With Selection.Interior
.PatternColorIndex = xlAutomatic
.Color = 65535
.TintAndShade = 0
.PatternTintAndShade = 0
End With
ActiveSheet.Range("$A$1:$G$9").AutoFilter Field:=1
but is it possible to have a SIMPLE code by declaring the variables.