Bonjour,
Comme je vous l'ai précisé, aucune mise en forme conditionnelle, ne peut convenir pour le fichier que je connais.
En tout cas pas pour la feuille Liste.
Si vous tenez absolument à cet effet sur cette feuille modifier les macros TriD et TriS dans Module1
Sub TriD()
Range("BDL").Sort Key1:=Range("C1"), Key2:=Range("E1"), Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
SubstMFC '<-Ligne à rajouter
End Sub
Sub TriS(i)
Range("BDL").Sort Key1:=Cells(1, i), Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal
SubstMFC '<-Ligne à rajouter
End Sub
Et rajoutez y cette macro
Sub SubstMFC() 'Mise en forme conditionnelle à chaque tri
Dim i, iLR, YOK
iLR = Range("BDL").Rows.Count
For i = 2 To iLR
YOK = Cells(i, 15) = Month(Date)
Range(Cells(i, 1), Cells(i, 15)).Interior.ColorIndex = IIf(YOK, 3, xlNone)
Next
End Sub
Cordialement.