Break.PageIndex property (Word)

Returns a Long that represents the page number on which the specified break occurs.

Syntax

expression. PageIndex

expression An expression that returns a 'Break' object.

Example

The following code returns the page number on which the specified break occurs.

ActiveDocument.ActiveWindow.Panes(1).Pages(1).Breaks(1).PageIndex

See also

Break Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.