Sub Enregistre()
Application.ScreenUpdating = False
Chemin = ThisWorkbook.Path & "\"
Set Base = Sheets("Base")
Sheets("Template").Select
T0 = Timer: DL = Base.[A10000].End(xlUp).Row
For L = 2 To DL
[E1] = Base.Cells(L, "D"): [O1] = Base.Cells(L, "A")
[C4] = Base.Cells(L, "I"): [D5] = Base.Cells(L, "H")
[P4] = Base.Cells(L, "E"): [E3] = Base.Cells(L, "F")
With ActiveWorkbook
NomFichier = Chemin & [O1] & "_" & [C4] & "_" & [E1] & ".xlsx"
Application.DisplayAlerts = False
ThisWorkbook.Worksheets("TEMPLATE").Copy
ActiveWorkbook.SaveAs NomFichier
ActiveWorkbook.Close True
Application.DisplayAlerts = True
End With
Application.StatusBar = "Fichier N° " & (L - 1) & " - Progression : " & Format(L / (DL - 1), "0%") & " - Temps écoulé : " & Format(Timer - T0, "0.000s")
Next L
Application.StatusBar = ""
Sheets("Base").Select
End Sub