1 2 3 4 5 6 7 8 9 10 11 12 13 14
| Sub mise_en_page()
Application.ScreenUpdating = False
temps = Timer
With Sheets("A")
ActiveSheet.PageSetup.PrintArea = "$A$1:$M$30"
Application.ExecuteExcel4Macro "PAGE.SETUP(,,0.708,0.0,0.590,0.198,,,TRUE,TRUE,2,9,80,,,,,,,FALSE,FALSE)"
End With
'MISE.EN.PAGE(en_tête; pied_pg; marge_gch;marge_dr;marge_haut;marge_bas; no_lig_col; quadrillage;centr_hor; centr_vert;
'orient;papier; échelle; no_pg; ordre_impr; cellules_nb; qualité;marge_en_tête; marge_pied_pg; annot; brouillon)
MsgBox Timer - temps
End Sub |
Partager