1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Sheets(Array("Feuil1", "Feuil2", "Feuil3", "Feuil4", "Feuil5", _
"Feuil6", "Feuil7", "Feuil8", "Feuil9")).Select
Sheets("Feuil1").Activate
With ActiveSheet.PageSetup
.LeftHeader = ""
.CenterHeader = ""
.RightHeader = ""
.LeftFooter = "Ref Version: La meilleure " & vbLf & "Têtue V1.0"
.CenterFooter = "System OK " & sheets("Feuil1").Range("B5") & vbLf & "This document is the property of Moi-Même All rights reserved"
.RightFooter = "Page &P/&N" & Chr(10) & "&A"
.LeftMargin = Application.InchesToPoints(0.236220472440945)
.RightMargin = Application.InchesToPoints(0.118110236220472)
.TopMargin = Application.InchesToPoints(0.275590551181102)
.BottomMargin = Application.InchesToPoints(1.14173228346457)
.HeaderMargin = Application.InchesToPoints(0.31496062992126)
.FooterMargin = Application.InchesToPoints(0.31496062992126)
.PrintErrors = xlPrintErrorsDisplayed
End With |
Partager