Private Sub Cb_transfert_Click()
Dim ligne As Integer, n As Byte, Tbl(), i As Byte, k As Long, Tbl2(), Ncol
ligne = ShBd.[A65000].End(xlUp).Row + 1
n = Me.ListBox1.ListCount
If n > 0 Then
Tbl = Me.ListBox1.List
For i = 0 To n - 1
Tbl(i, 0) = CDate(Tbl(i, 0))
Next i
'--
Ncol = UBound(Tbl, 2) + 1
ReDim Tbl2(0 To n - 1, 0 To Ncol + 1)
For i = 0 To n - 1
For k = 0 To 4: Tbl2(i, k) = Tbl(i, k): Next k
If Tbl(i, 5) < 0 Then Tbl2(i, 5) = -Tbl(i, 5) Else Tbl2(i, 6) = Tbl(i, 5)
For k = 6 To Ncol - 1: Tbl2(i, k + 1) = Tbl(i, k): Next k
Next i
'--
ShBd.Cells(ligne, "a").Resize(n, 11) = Tbl2
Me.ListBox1.Clear
End If
End Sub