Sub enregister()
 
  Set ti = Sheets("feuil3")
    
    col = Range("ZZ2").End(xlToLeft).Column
    
    fin = Cells(1000, col).End(xlUp).Row
    Sh = Cells(1, col)
     rt = Sheets(Sh).Range("B100000").End(xlUp).Row + 1
            If Cells(2, col) = 0 Then: Exit Sub
            If rt > 3 Then: Exit Sub
      
            For i = fin To 3 Step -1
                If Cells(i, col) <> "" Then
                    Sheets(Sh).Cells(rt, 2) = Cells(i, 3)
                    Sheets(Sh).Cells(rt, 3) = Cells(i, 4)
                    Sheets(Sh).Cells(rt, 4) = Cells(i, col)
                        ti.Shapes(i - 2).Copy
                            Sheets(Sh).Select
                            Sheets(Sh).Range("A" & rt).Select
                            ActiveSheet.Pictures.Paste
                    ti.Select
                    rt = rt + 1
                End If
            Next
    Sheets(Sh).Range("D1") = "=SUM(D3:D" & rt & ")"
    Sheets(Sh).Range("E1") = "=SUM(E3:E" & rt & ")"
 
If MsgBox("Avez-vous besoin d'une feuille sup.", vbYesNo, "Demande de confirmation") = vbYes Then
        Range(Cells(1, col), Cells(2, col)).Select
            Selection.AutoFill Destination:=Range(Cells(1, col), Cells(2, col + 1)), Type:=xlFillDefault
                    
Worksheets("Model").Copy Before:=Sheets("Model")
    ActiveSheet.Name = "Sachet n° " & (col - 1) / 2
    ActiveSheet.Range("A1") = "Sachet n° " & (col - 1) / 2
End If
  ti.Select
 
End Sub