Sub SavePDF()
Dim LaDate$, Chemin$, NomFeuille$
LaDate = Format(Now, "dd-mm-yyyy")
Chemin = Environ("HOMEPATH") & "\Documents\CR\"
NomFichier = Split(ThisWorkbook.Name, ".")(0)
NomFeuille = ActiveSheet.Name & " " & [E9] & [E100] & [E11]
' Construction du chemin complet
CheminComplet = Chemin & " " & NomFeuille & " " & LaDate & ".pdf"
'************
' Sub PiedDePage()
'With ActiveSheet.PageSetup
' .LeftFooter = ""
' .CenterFooter = [E9] & [E100] & [E11]
' .RightFooter = "&D &T &P / &N"
'End With
'*********** A remplacer par
Dim Ws As Worksheet
For Each Ws In worksheets
With Ws.PageSetup
.LeftFooter = ""
.CenterFooter = [E9] & [E100] & [E11]
.RightFooter = "&D &T &P / &N"
End With
Next sh
'***********
' Création fichier PDF
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:=CheminComplet, _
Quality:=xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas:=False, _
From:=1, To:=1, OpenAfterPublish:=False
' Message de confirmation
MsgBox ("Création du fichier PDF effectué" & vbCrLf & vbCrLf & CheminComplet)
'***********
'ActiveWindow.SelectedSheets.PrintPreview
'*********** A remplacer par
PrintPreview 'Visualise l'impression
'PrintOut 'Lance l'Impression
'***********
End Sub