Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
Dim chemin$, nomfich$
Cancel = True
chemin = Path & "\"
nomfich = Left(Name, InStrRev(Name, ".") - 1)
Application.DisplayAlerts = False
Application.EnableEvents = False 'désactive les évènements
SaveAs chemin & "BACKUP\" & nomfich, 51 '.xlsx
SaveAs chemin & nomfich, 52 '.xlsm
Application.EnableEvents = True 'réactive les évènements
End Sub