Sub DupliquerLignes()
With Sheets("Sheet2")
.Range("A2:G10000").ClearContents
Ligne = 2
For L = 2 To [A10000].End(xlUp).Row
Qté = Cells(L, "G") - 1
.Range("A" & Ligne & ":G" & Ligne + Qté) = Range("A" & L & ":G" & L).Value
Ligne = Ligne + Qté + 1
Next L
.Select
.Columns.AutoFit
.Range("A2:A" & .[A10000].End(xlUp).Row).Formula = "=ROW()-1"
End With
End Sub