Sub test2()
Dim Derlig As Long, i As Long, T0, tablo, Tout
Application.ScreenUpdating = False
Derlig = Sheets("Grand Livre").Cells(Application.Rows.Count, 1).End(xlUp).Row
tablo = Range("F1:F" & Derlig) ' Transfert colonne F dans array
ReDim Tout(UBound(tablo), 1) ' Dimensionnement array de sortie
For i = 3 To UBound(tablo)
Select Case Left(tablo(i, 1), 21)
Case "Piece Encaissement / "
Tout(i - 1, 0) = Format(Left(Right(tablo(i, 1), 12), 10), "mm/dd/yyyy")
Case "PIECE Synthese GTR-SI"
Tout(i - 1, 0) = Format(Mid(tablo(i, 1), 44, 10), "mm/dd/yyyy")
Case "Piece journée encaiss"
Tout(i - 1, 0) = CDate(Replace(Right(tablo(i, 1), 10), ".", "/"))
End Select
Next i
Range("$K$1").Resize(UBound(Tout, 1), UBound(Tout, 2)) = Tout ' Restitution array de sortie
End Sub