Spreadsheet.GetMargins

This function gets the margins for printing in twips.

Syntax Parameters Return Value
Sub Spreadsheet.GetMargins( _
    ByRef left As Integer, _
    ByRef right As Integer, _
    ByRef top As Integer, _
    ByRef bottom As Integer)
  • left [out]

Long Value where the left margin will be stored.

Type: Integer

  • right [out]

Long Value where the right margin will be stored.

Type: Integer

  • top [out]

Long Value where the top margin will be stored.

Type: Integer

  • bottom [out]

Long Value where the bottom margin will be stored.

Type: Integer

This function does not return a value.