Page Break Object and the VPage Breaks Collection

The VPageBreaks collection contains all of the vertical page breaks in the printable area of the parent object. Each VPageBreak object represents a single vertical page break for the printable area of the parent object. Possible parents of the VPageBreaks collection are the WorkSheet and Chart objects.

The VPageBreaks collection contains one method besides the typical collection attributes. The Add method is used to add a VPageBreak object to the collection (and vertical page break to the sheet). The Add method has a Before parameter to specify the range to the right of where the vertical page break will be added.

0 0

Post a comment