Private Sub CommandButton3_Click()
Dim Rep As String: Rep = ThisWorkbook.Path & "\Desces"
CommandButton3.Locked = True
Dim Fs As New FSO, Taill As Long
Dim F As Integer
For F = Upload.ListCount - 1 To 0 Step -1
' If Upload.Selected(F) Then 'enlève le commentaire
Fs.Supprimer_Repertoire Rep
Fs.Creer_Repertoires Rep
If DownloadHTTP.PingURL(Upload.List(F, 0)) Then
DownloadHTTP.DownloadFile Upload.List(F, 0), Environ("TEMP") & "\" & Upload.List(F, 1)
Fs.UnzipAFile Environ("TEMP") & "\" & Upload.List(F, 1), Rep & "\"
'Fs.Deplace_Fichier ThisWorkbook.Path & "\Desces 1970-2023\Deces_" & Replace(UCase(Upload.List(f, 1)), ".ZIP", ".csv"), ThisWorkbook.Path & "\Desces 1970-2023\" & Replace(UCase(Upload.List(f, 1)), ".ZIP", ".csv")
Fs.Supprimer_Fichier Environ("TEMP") & "\" & Upload.List(F, 1)
UlpoadSqlite Cn, Rep, Upload, F
Upload.RemoveItem (F)
' End If 'enlève le commentaire
End If
Next
End Sub