Bonjour,
Je souhaiterai enregistrer une feuille sur laquelle se trouve deux graphique.
Il me faudrait enregistrer au format PDF
Voici le code actuel :
Sheets("Imprimer").Select
Sheets("Imprimer").Range("A1") = Sheets("menu").Range("A2")
ActiveSheet.PageSetup.Orientation = xlLandscape
ActiveSheet.PageSetup.Zoom = False
ActiveSheet.PageSetup.FitToPagesTall = 1
ActiveSheet.PageSetup.FitToPagesWide = 1
Active.ExportAsFixedFormat Type:=xlTypePDF, Filename:=ThisWorkbook.Path & "\" & FName & ".pdf", Quality:=xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas:=False, OpenAfterPublish:=True
MsgBox ("Le fichier à été exporté avec succès")
Sheets("menu").Select
Le problème est que le format enregistrer est toujours portrait..
Pourriez vous m'aider.
Merci beaucoup