1 2 3 4 5 6 7 8 9 10 11 12 13
| Sub save_PDF()
Dim fichier As String
With Worksheets("EtiquettesTableau")
'adapter le nom sous lequel le fichier sera enregistré
fichier = "/Volumes/Boulot/logiciel/Etiquettes Tableaux" & Range("F22") & ".pdf"
'adapter le chemin du dossier
Dossier = "/Volumes/Boulot/logiciel/Etiquettes Tableaux."
Chemin = Dossier & fichier
.ExportAsFixedFormat Type:=xlTypePDF, Filename:=Chemin, Quality:=xlQualityStandard, _
IncludeDocProperties:=True, IgnorePrintAreas:=False, OpenAfterPublish:=False
End With
End Sub |
Partager