VPageBreaks Collection Object [Excel 2003 VBA Language Reference]
A collection of vertical page breaks within the print area. Each vertical page break is represented by a VPageBreak object.
Using the VPageBreaks Collection
If you add a page break that does not intersect the print area, then the newly-added VPageBreak object will not appear in the VPageBreaks collection for the print area. The contents of the collection may change if the print area is resized or redefined.
- For an automatic print area, the VPageBreaks property applies only to the page breaks within the print area.
- For a user-defined print area of the same range, the VPageBreaks property applies to all of the page breaks.
Methods | Add Method