Sub Prélevement_auto()
Dim i, j, k, DerniereLigneOccupee As Long
Dim Dest As Range
Sheets("SAISIE COMPTES ").Select
DerniereLigneOccupee = Range("O1007")
NombreDeLignesAEffacer = Range("P2") - (Range("Q2") - DerniereLigneOccupee)
If (NombreDeLignesAEffacer > 0) Then
For i = 7 To 7 + NombreDeLignesAEffacer - 1
SupLig
Next i
End If
Sheets("PRELEVEMENTS AUTO").Select
Range("A1:E" & Range("F25")).Copy
' Selection.Copy
Sheets("SAISIE COMPTES ").Select
Range("A7").End(xlDown).Offset(1, 0).Select
Set Dest = Selection
Dest.PasteSpecial Paste:=xlValues
Application.CutCopyMode = False
End Sub