Bonjour,
j''utilise un code vba qui permet d'exporter 1 fichier PDF séparé par feuille.
Cela fonctionne correctement.
Actuellement il export les fichier PDF dans le dossier "Documents" du poste de travail.
Pourriez vous m'aider a indiquer le chemin des fichiers exportés dans e dossier racine du document excel.
Voici le code actuel :
Sub ExportFeuillesPDF()
Application.ScreenUpdating = False
Sheets("LOGO").Visible = True
Dim Sh As Worksheet
For Each Sh In ThisWorkbook.Sheets
Sh.Copy
ActiveWorkbook.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
Sh.Name & ".pdf", Quality:=xlQualityStandard, _
IncludeDocProperties:=True, IgnorePrintAreas:=False, _
OpenAfterPublish:=False
ActiveWorkbook.Close False
Next Sh
Sheets("LOGO").Visible = False
MsgBox "PDF sont disponibles dans le dossier 'Documents' "
Application.ScreenUpdating = True
End Sub
MERCI PAR AVANCE