hello everyone...
I'm using the code below to color every row where "MAIN" and string
starting by "FFR0" coexist, but it doesn't work
is there anything wrong with this code ?
please take a look at the attached file.![]()
Dim cell As Range For Each cell In Intersect(Columns("A"), ActiveSheet.UsedRange) If Left(cell.Value, 5) = "MAIN" And Left(cell.Offset(0, 3).Value, 14) = "FFR0*" Then cell.EntireRow.Interior.ColorIndex = 3 Next cell
thanks in advance for your help
regards...
Bookmarks