VPageBreaks.Add Method
Adds a vertical page break. Returns a VPageBreak object.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function Add ( _
Before As Object _
) As VPageBreak
'Usage
Dim instance As VPageBreaks
Dim Before As Object
Dim returnValue As VPageBreak
returnValue = instance.Add(Before)
VPageBreak Add(
Object Before
)
Parameters
Before
Type: System.ObjectRequired Object. A Range object. The range to the left of which the new page break will be added.
Return Value
Type: Microsoft.Office.Interop.Excel.VPageBreak