Sub ImpressionPDF() ' ImpressionPDF Macro
Dim monFichier As String
monFichier = Sheets("Bon à Imprimer").Range("B15").Value
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
"D:\Documents\-1- Entreprise\-2-Bon de Commande\ " & monFichier, Quality:= _
xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas:=False, _
OpenAfterPublish:=True
End Sub
tu avais dans ta macro: monFichier = Sheets("Bon à Imprimer").Range("B7").Value... remplace par B15
Si le problème persiste tu te mets sur cette ligne et tu appuie sur F9
Tu relances la macro, elle va s'arrêter sur cette ligne et ensuite tu avances avec F8...
A+ François