Remarks

Each vertical page break is represented by a object.

When the property, property, property, property, property or method is used in conjunction with the VPageBreaks property:

Example

Use the property to return the VPageBreaks collection. Use the method to add a vertical page break.

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.

The following example adds a vertical page break to the left of the active cell.

Visual Basic for Applications
ActiveSheet.VPageBreaks.Add Before:=ActiveCell
Collection of vertical page breaks? V Page Breaks Collection Object VPageBreaks Collection VPageBreaks Collection Object

See also: