re
je supute peut etre mais je crois avoir raison
tu enregistre ton pdf sous le nom "test" sans preciser le chemin
Feuille10.Range("A1:H62").ExportAsFixedFormat Type:=xlTypePDF, FileName:="test" & ".pdf", Quality:=xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas:=True, OpenAfterPublish:=True
sur mac je ne sais pas comment on concataine un string pour faire le chemin mais tu devrais t'intérésser a cela
avec window par exemple on enregistre le pdf sur le bureau comme suit
Feuille10.Range("A1:H62").ExportAsFixedFormat Type:=xlTypePDF, FileName:=environ("userprofile") & "\DeskTop\" & "test.pdf", Quality:=xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas:=True, OpenAfterPublish:=True
Partager