VPageBreak Object

Excel Developer Reference

Represents a vertical page break.

Remarks

The VPageBreak object is a member of the VPageBreaks collection.

Example

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.

Visual Basic for Applications
  Worksheets(1).VPageBreaks(1).Location = Worksheets(1).Range("e5")

See Also