RightMargin Property [AutoPageSetup]
The RightMargin property returns or sets the plot window right margin in page units. Returns a Double.
Syntax
object.RightMargin
object.RightMargin = Right
Parameter | Type | Description |
Right | Double | required, use page units |
Example 1
This example demonstrates how to return the right margin of a page.
Debug.Print PageSetup.RightMargin
Example 2
This example demonstrates how to set the right margin of a page to one page unit.
PageSetup.RightMargin = 1
Used by: AutoPageSetup object