Function TLgnPériode(ByVal DatHDébut As Date, ByVal DatHFin As Date) As Long()
Dim TDon(), L As Long, TLgn() As Long, N As Long
TDon = Feuil2.ListObjects(1).DataBodyRange.Resize(, 5).Value
ReDim TLgn(1 To UBound(TDon, 1))
For L = 1 To UBound(TDon, 1)
If TDon(L, 3) <= DatHFin And TDon(L, 5) >= DatHDébut Then N = N + 1: TLgn(N) = L
Next L
If N > 0 Then ReDim Preserve TLgn(1 To N) Else ReDim TLgn(0 To 0)
TLgnPériode = TLgn
End Function