Ich hoffe, Ihr könnt mir helfen und bedanke mich im Voraus.
Gruß Manuel
Dim Jetzt As Variant
Jetzt = Format(Now, "yyyymmdd_hh.mm")
vntfile = Application.GetSaveAsFilename(ThisWorkbook.Path & "\" & Jetzt & "_" & ActiveSheet.Range("K14").Value & "_" & ".pdf", "PDF Dateien (*.pdf), *.pdf", Title:="Als PDF Speichern")
If vntfile > False Then
ActiveSheet.Range("A1:G53").ExportAsFixedFormat _
Type:=xlTypePDF, _
Filename:=vntfile, _
Quality:=xlQualityStandard, _
IncludeDocProperties:=True, _
IgnorePrintAreas:=False, _
OpenAfterPublish:=True