HPageBreak Object

Description

Represents a horizontal page break. The HPageBreak object is a member of the HPageBreaks collection.

Using the HPageBreak Object

Use HPageBreaks(index), where index is the index number of the page break, to return an HPageBreak object. The following example changes the location of horizontal page break one.

Worksheets(1).HPageBreaks(1).Location = Worksheets(1).Range("E5")
Properties

Application property, Creator property, Extent property, Location property, Parent property, Type property.

Methods

Delete method, DragOff method.