Sub Macro2()
' Touche de raccourci du clavier: Ctrl+a
Dim DerLig As Long, i As Long
DerLig = Range("A" & Rows.Count).End(xlUp).Row
With Sheets("gestion des supports")
For i = 2 To DerLig
.Range("G1") = i - 1
.Range("F4:G4") = Sheets("plan chargement").Range("A" & i)
.Range("F7:G7") = Sheets("plan chargement").Range("L" & i)
.Range("D20") = Sheets("plan chargement").Range("I" & i)
.Range("E20:F20") = Sheets("plan chargement").Range("J" & i)
Next i
End With
End Sub