Bonsoir
Pour la valeur de B6, il manque une apostrophe
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
"E:\Robert\Fumage\" & range ("B6") & ".pdf", Quality:=xlQualityStandard, _
IncludeDocProperties:=True, IgnorePrintAreas:=False, OpenAfterPublish:= _
True
et pour mettre l'année et le mois de B1
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
"E:\Robert\Fumage\" & range ("B1") & "-" & range ("B6") & ".pdf", Quality:=xlQualityStandard, _
IncludeDocProperties:=True, IgnorePrintAreas:=False, OpenAfterPublish:= _
True