I'm trying to colour-code the cells in Column C, one for when it says "Yes" and one for "No". The below code works. But I want it to colour the cells C4 and down, not C1,C2 and C3. Any Tips? Also any tips how I can Colour-code cells based on a result from another worksheet?
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
For Each cell In ActiveSheet.UsedRange.Columns("C").Cells
If Len(cell.Value) > 2 Then
cell.Interior.ColorIndex = 3
ElseIf Len(cell.Value) < 3 Then
cell.Interior.ColorIndex = 4
End If
Next
End Sub