Private Sub Worksheet_SelectionChange(ByVal Target As Range)
On Error GoTo Fin
If Target.Count > 1 Then Exit Sub
If Not Intersect(Target, [T10:V352]) Is Nothing Then
L = Target.Row: C = Target.Column
Range("T" & L & ":V" & L).Interior.Color = xlNone
Select Case C
Case 20: Cells(L, C).Interior.Color = RGB(0, 176, 80)
Case 21: Cells(L, C).Interior.Color = RGB(255, 165, 0)
Case 22: Cells(L, C).Interior.Color = RGB(255, 0, 0)
End Select
End If
Fin:
End Sub