共用方式為


HPageBreak Object (Excel)

Represents a horizontal page break.

Remarks

The HPageBreak object is a member of the HPageBreaks collection.

注意

There is a limit of 1026 horizontal page breaks per sheet.

Example

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")

請參閱

概念

Excel Object Model Reference

HPageBreak Object Members