En faite je vais faire évoluer ma demande en plus simple.
J'ai mis une MFC en cellule E32
La question est comment la mettre en macro ? Car avec l'enregistreur de macro il n'enregistre pas "s'applique à"
la macro
Sub Macro1()
Range("E32").Select
Selection.FormatConditions.Add Type:=xlExpression, Formula1:="=$E$32>$E$31"
Selection.FormatConditions(Selection.FormatConditions.Count).SetFirstPriority
With Selection.FormatConditions(1).Borders(xlTop)
.LineStyle = xlContinuous
.Color = -16776961
.TintAndShade = 0
.Weight = xlThin
End With
Selection.FormatConditions(1).StopIfTrue = False
End Sub