Elle est toujours là mais bon, passons !
Tu veux faire quoi au juste, que le ligne ne se colore pas en colorindex 17 si on est dimanche ?
C'est ici, que se produit la coloration de la ligne :
If Not cel Is Nothing Then
Range(Cells(cel.Row, 1), Cells(cel.Row, Plage.Columns.Count)).Interior.ColorIndex = 17
J = cel.Row - 1
End If
Il te suffit de créer une condition comme par exemple :
If Format(cel.Value, "dddd") <> "dimanche" Then
comme ceci :
If Not cel Is Nothing Then
If Format(cel.Value, "dddd") <> "dimanche" Then
Range(Cells(cel.Row, 1), Cells(cel.Row, Plage.Columns.Count)).Interior.ColorIndex = 17
J = cel.Row - 1
End If
End If