Re : Mail PDF Outlook
L'erreur affichée est celle citée plus haut :
Erreur d'execution "5"
argument ou appel de procédure incorrect
En jaune dans la macro
ActiveSheet.ExportAsFixedFormat _
Type:=xlTypePDF, _
Filename:=pdfName, _
Quality:=xlQualityStandard, _
IncludeDocProperties:=False, _
IgnorePrintAreas:=False, _
OpenAfterPublish:=False
Références :
Visual basic for application
Microsoft excel 12.0 object Library
OLE automation
Microsoft office 12.0 object Library
Microsoft forms 2.0 object Library