This documentation is archived and is not being maintained.

HPageBreaks.Add Method 

Adds a horizontal page break. Returns an HPageBreak object.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in microsoft.office.interop.excel.dll)

'Usage
Dim Before As Object
Dim returnValue As HPageBreak
Dim hPageBreaks1 As HPageBreaks
returnValue = hPageBreaks1.Add(Before)

HPageBreak Add(
	[In] object Before
);
public HPageBreak Add(
	/*in*/System.Object Before
);
function Add(
	 Before : Object
) : HPageBreak;

Parameters

Before

Required Object. A Range object. The range above which the new page break will be added.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Show: