This documentation is archived and is not being maintained.

VPageBreak Object [Excel 2003 VBA Language Reference]

Office 2003
Multiple objects
Multiple objects

Represents a vertical page break. The VPageBreak object is a member of the VPageBreaks collection.

Using the VPageBreak Object

Use VPageBreaks(index), where index is the page break index number of the page break, to return a VPageBreak object. The following example changes the location of vertical page break one.

Worksheets(1).VPageBreaks(1).Location = Worksheets(1).Range("e5")

Parent Objects | Charts | Sheets | Worksheet | Worksheets

Child Objects | Range | Worksheet