LeftMargin Property [PageSetup]
LeftMargin returns or sets the left margin in page units. Returns a double.
Syntax
object.LeftMargin
object.LeftMargin = Left
Parameter |
Type |
Description |
Left |
Double |
required, use page units |
Example 1
This example demonstrates how to return the left margin of a page.
Debug.Print PageSetup.LeftMargin
Example 2
This example demonstrates how to set the left margin of a page to one page unit.
PageSetup.LeftMargin = 1
Used by: PageSetup object