Private Sub Worksheet_Change(ByVal Target As Range)
Dim xrg, xcell, col&, jourSem&, laDate
Dim rgFerie As Range, estFerie As Boolean
Application.ScreenUpdating = False
Set xrg = Intersect(Range("DataPlanning"), Target)
If xrg Is Nothing Then Exit Sub
Application.EnableEvents = False
For Each xcell In xrg
col = 2 + 9 * ((xcell.Column - 2) \ 9)
laDate = Cells(xcell.Row, col)
If IsDate(laDate) Then jourSem = Weekday(Cells(xcell.Row, col), vbMonday)
Set rgFerie = Sheets("Jours fériés").Range("Ferie2019").Offset(0, Range("f1") - 2019)
estFerie = Application.WorksheetFunction.CountIf(rgFerie, laDate) > 0
If laDate = "" Or jourSem >= 6 Or estFerie Then xcell.ClearContents
Next xcell
Application.EnableEvents = True
End Sub