1 2 3 4 5 6 7 8 9 10
|
'*************************Enregistrement Rapport Format PDF*******************
Dim Ar(0) As String
Ar(0) = Feuil2.Name 'ou se trouve le bulletin
Sheets(Ar).Select
'supposons que le matricule de l'élève en E6
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:=ThisWorkbook.Path & "\" & "Bulletin " & Range("E6") _
, Quality:=xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas _
:=False, OpenAfterPublish:=False
'******************************************************************************** |
Partager