VPageBreak.Location Property
Returns or sets the cell (a Range object) that defines the page-break location.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Property Location As Range
Get
Set
'Usage
Dim instance As VPageBreak
Dim value As Range
value = instance.Location
instance.Location = value
Range Location { get; set; }
Property Value
Type: Microsoft.Office.Interop.Excel.Range
Remarks
Horizontal page breaks are aligned with the top edge of the location cell; vertical page breaks are aligned with the left edge of the location cell.