Sub test1()
    Application.ScreenUpdating = False
    
    Dim xCount As Integer
    Dim X1 As Integer
    Dim X2 As Integer
    Dim X3 As Integer
    Dim Derlig1&, Derlig2&, Ht%
Derlig = Range("K" & Rows.Count).End(xlUp).Row
    X1 = Sheets("Feuil1").Cells(Rows.Count, "K").End(xlUp).Row - 1
    X2 = Sheets("Feuil2").Cells(Rows.Count, "C").End(xlUp).Row - 1
    X3 = Sheets("Feuil1").Cells(Rows.Count, "G").End(xlUp).Row + 1
    
    Derlig1 = Range("K" & Rows.Count).End(xlUp).Row + 1
    Derlig2 = Range("G" & Rows.Count).End(xlUp).Row
    Ht = 33.75
    
    xCount = Application.InputBox("Nombre de lignes", "Saf", , , , , , 1)
    If xCount < 1 Then
        MsgBox "Le nombre de lignes entré est erroné. Veuillez recommencer", vbInformation, "Saf"
        GoTo GestionErreur
    End If
    With Sheets("Feuil2")
        .Range("A" & X2 & ":W" & X2).Copy
        .Range("A" & X2 + 1 & ":A" & X2 + xCount).Insert Shift:=xlDown
    End With
    
    With Sheets("Feuil1")
        .Range("A" & X1 & ":W" & X1).Copy
        .Range("A" & X1 + 1 & ":A" & X1 + xCount).Insert Shift:=xlDown
        .Rows(Derlig1 & ":" & Derlig2).RowHeight = Ht
    End With
    
    Range("G" & X3).Select
    
    Application.CutCopyMode = False
    
GestionErreur:
Exit Sub
    
End Sub