Sub Mfc_Feuil1()
Const Cyan = 15773696
Const Vert = 5287936
Const JaunOr = 49407
Const Rouge = 255
Worksheets("Feuil1").Activate
Worksheets("Feuil1").Cells.FormatConditions.Delete
With [$E$4:$E$38].FormatConditions
With .Add(Type:=xlExpression, Formula1:="=ET($B4<120;$C4<80;$E4<>"""")")
.Interior.Color = Cyan
.StopIfTrue = Faux
End With
With .Add(Type:=xlExpression, Formula1:="=ET($B4<130;$C4<85;$E4<>"""")")
.Interior.Color = Vert
.StopIfTrue = Faux
End With
With .Add(Type:=xlExpression, Formula1:="=ET($B4<130;85<$C4;$C4<90;$E4<>"""")")
.Interior.Color = JaunOr
.StopIfTrue = Faux
End With
With .Add(Type:=xlExpression, Formula1:="=ET(120<$B4;$B4<139;85<$C4;$C4<89;$E4<>"""")")
.Interior.Color = Rouge
.StopIfTrue = Faux
End With
End With
With [$I$4:$I$38].FormatConditions
With .Add(Type:=xlExpression, Formula1:="=ET($F4<120;$G4<80;$I4<>"""")")
.Interior.Color = Cyan
.StopIfTrue = Faux
End With
With .Add(Type:=xlExpression, Formula1:="=ET($F4<130;$G4<85;$I4<>"""")")
.Interior.Color = Vert
.StopIfTrue = Faux
End With
With .Add(Type:=xlExpression, Formula1:="=ET($F4<130;85<$G4;$G4<90;$I4<>"""")")
.Interior.Color = JaunOr
.StopIfTrue = Faux
End With
With .Add(Type:=xlExpression, Formula1:="=ET(120<$F4;$F4<139;85<$G4;$G4<89;$I4<>"""")")
.Interior.Color = Rouge
.StopIfTrue = Faux
End With
End With
With [$M$4:$M$38].FormatConditions
With .Add(Type:=xlExpression, Formula1:="=ET($J4<120;$K4<80;$M4<>"""")")
.Interior.Color = Cyan
.StopIfTrue = Faux
End With
With .Add(Type:=xlExpression, Formula1:="=ET($J4<130;$K4<85;$M4<>"""")")
.Interior.Color = Vert
.StopIfTrue = Faux
End With
With .Add(Type:=xlExpression, Formula1:="=ET($J4<130;85<$K4;$K4<90;$M4<>"""")")
.Interior.Color = JaunOr
.StopIfTrue = Faux
End With
With .Add(Type:=xlExpression, Formula1:="=ET(120<$J4;$J4<139;85<$K4;$K4<89;$M4<>"""")")
.Interior.Color = Rouge
.StopIfTrue = Faux
End With
End With
End Sub