Sub Worksheet_Change(ByVal Target As Range)
On Error GoTo Fin: If Target.Count > 1 Then Exit Sub
If Not Intersect(Target, [A1]) Is Nothing Then
Application.ScreenUpdating = False
Application.EnableEvents = False
[A3:A1000].ClearContents: Ligne = 3
T = Sheets("Données").[A1].CurrentRegion
For i = 4 To UBound(T, 2)
If CDate(T(1, i)) = Target Then Colonne = i: Exit For
Next i
For i = 2 To UBound(T, 1)
If Not IsEmpty(T(i, Colonne)) Then
Cells(Ligne, "A") = T(i, 3)
Ligne = Ligne + 1
End If
Next i
End If
Fin:
Application.EnableEvents = True
End Sub