Applies To
PageSetup Object.
Description
Returns or sets the size of the bottom margin, in points (1/72 inch). Read-write.
Remarks
Margins are set or returned in points. Use the InchesToPoints or CentimetersToPoints function to convert.
See Also
LeftMargin Property, RightMargin Property, TopMargin Property.
Example
These two examples set the bottom margin of Sheet1 to 0.5 inch (36 points).
Worksheets("Sheet1").PageSetup.BottomMargin = _ Application.InchesToPoints(0.5) Worksheets("Sheet1").PageSetup.BottomMargin = 36
This example displays the current bottom margin setting for Sheet1.
marginInches = Worksheets("Sheet1").PageSetup.BottomMargin / _ Application.InchesToPoints(1) MsgBox "The current bottom margin is " & marginInches & " inches"