Sub Enregistrement_PDF()
'
' EnregistrerEtImprimer Macro
'
Dim Path As String, nom As String
Path = ActiveWorkbook.Path & "\temp\"
nom = Format(Date, "dd-mm-yyyy")
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:=ActiveWorkbook.Path & "\temp\" & Format(Date, "dd-mm-yyyy") & ".pdf"
Application.DisplayAlerts = False
MsgBox ("Le fichier a bien été enregistré en PDF.")
Application.Quit
End Sub