Code: Select all
Application.ScreenUpdating = False
ActiveSheet.ResetAllPageBreaks
With ActiveSheet.PageSetup
.CenterFooter = "&14&P"
.LeftMargin = Application.InchesToPoints(0.1)
.RightMargin = Application.InchesToPoints(0.1)
.TopMargin = Application.InchesToPoints(0.25)
.BottomMargin = Application.InchesToPoints(0.5)
.HeaderMargin = Application.InchesToPoints(0.3)
.FooterMargin = Application.InchesToPoints(0.3)
.CenterHorizontally = True
.CenterVertically = False
.Zoom = 66
Application.ScreenUpdating = True
End With
Some appear as if the margin are still set to narrow. Could this be caused by the zoom.