Private Sub Worksheet_Change(ByVal Target As Range)
Dim lg As Integer
If Not Intersect(Target, Range("B10:AD24")) Is Nothing Then
If Target.Value = "" Then
With Me.Range(Target.Offset(-1, 0).Address)
.Offset(0, 1).Interior.Color = &HFFFFFF
.Offset(0, 2).Interior.Color = &HFFFFFF
End With
Else
lg = Application.Match(Target.Value, Sheets("coloris").Range("A1:A261"), 0)
With Me.Range(Target.Offset(-1, 0).Address)
.Offset(0, 1).Interior.Color = Sheets("coloris").Cells(lg, 3).Interior.Color
.Offset(0, 2).Interior.Color = Sheets("coloris").Cells(lg, 5).Interior.Color
End With
End If
End If
End Sub