Bonsoir,
Remplacer tout le code par:
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect([planning], Target) Is Nothing Then
Target.Offset(, 1).Interior.ColorIndex = [couleurs].Find(Target, LookAt:=xlWhole).Interior.ColorIndex
End If
End Sub
Couleurs =Janvier!$R$5:$R$10
planning =Janvier!$B$7:$O$34
J.Aimar