bonjour
As tu plus de trois mises en formes conditionnelles ou
uniquement trois formes avec le test sur la valeur 6 ???
http://bvrve.club.fr/Astuces_Michel/2854excel.html
¨Pour plus de 3 conditions
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Value = "AA" Then Target.Interior.ColorIndex = 36
If Target.Value = "BB" Then Target.Interior.ColorIndex = 34
If Target.Value = "CC" Then Target.Interior.ColorIndex = 44
If Target.Value = "DD" Then Target.Interior.ColorIndex = 39
If Target.Value <> "CC" And Target.Value <> "BB" And Target.Value <> "DD" _
And Target.Value <> "AA" Then Target.Interior.ColorIndex = 37
End Sub