Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
Application.DisplayAlerts = False
Sheets("Fiche-Support").Unprotect Password:="sade"
Cells(1, 10) = Cells(1, 10) + 1
If Cells(2, 11) > Cells(1, 11) Then Cells(1, 10) = 1
For i = 5 To 8
Sauv$ = Sauv$ & Cells(1, i)
Next i
Sauv$ = Sauv$ & Format(Cells(1, 9), "yyyy-mm")
Sauv$ = "c:\" & Sauv$ & "-" & CStr(Format(Cells(1, 10), "000")) & ".xls"
Cells(1, 11) = Year(Date)
ThisWorkbook.SaveCopyAs (Sauv$)
[COLOR="Red"]Sheets("Fiche-Support").Protect Password:="0000"[/COLOR]
Application.DisplayAlerts = True
End Sub