Function ListeAmortir()
Dim l As Long, Cel As Range, a(), i As Long, TblGestion
With Sheets("GESTION")
l = .[A65536].End(xlUp).Row
TblGestion = .Range("A8").CurrentRegion
For l = 3 To UBound(TblGestion, 1)
If TblGestion(l, 13) = "" Then 'pas de date
i = i + 1
ReDim Preserve a(1 To 2, 1 To i)
a(1, i) = TblGestion(l, 1)
a(2, i) = l + 6
End If
Next l
' For Each Cel In .Range("M9:M" & l)
' If Cel.Value = "" Then 'pas de date
' i = i + 1
' ReDim Preserve a(1 To 2, 1 To i)
' a(1, i) = .Cells(Cel.Row, 1).Value
' a(2, i) = Cel.Row
' End If
' Next Cel
End With
ListeAmortir = Application.Transpose(a)
End Function