Sub SAUVEGARDER()
'
' SAUVEGARDER Macro
'
'
Range("J3").Select
ActiveCell.FormulaR1C1 = "=ModDate()"
Range("AZ4") = ThisWorkbook.BuiltinDocumentProperties("author").Value
Dim fichier As String, NomFichier As String
NomFichier = Range("F10").Value & " - " & Range("S11").Value & " - " & Range("F12").Value & " - " & Range("H69").Value & " " & Range("F13").Value & " - " & Range("S13").Value & "" & Range("S14").Value & ".pdf"
'NomFichier = Range("F10").Value & " - " & Range("S11").Value & " - " & Range("F12").Value & " - " & Range("H69").Value & " " & Range("F13").Value & " - " & Range("S13").Value & "" & Range("S14").Value & ".pdf"
With Application.FileDialog(msoFileDialogFolderPicker)
If .Show = -1 Then ' Clic sur Ok
Chemin = .SelectedItems(1)
Else
' Clic sur Annuler
Exit Sub
End If
End With
Sheets("Récap").ExportAsFixedFormat Type:=xlTypePDF, Filename:=Chemin & "\" & NomFichier, _
Quality:=xlQualityStandard, IncludeDocProperties:=True, _
IgnorePrintAreas:=False, OpenAfterPublish:=True
End Sub