Bonjour
C'est vrai que c'est mon défaut je cherche à simplifier (quand je peux) quitte à avoir un code illisible
Et j'espère ne vexer personne
Et pour ça bien que je trouve l'emploi des ElseIf de bon aloi (ah souvenirs)
Juste pour le plaisir
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Count > 1 Then Exit Sub
If Not Application.Intersect(Target, Range("B9:P9")) Is Nothing Then
Target.Interior.ColorIndex = Choose(Month(Target), 3, 45, 43, 50, 42, 41, 13, 48, 7, 44, 6, 4)
End If
End Sub