Pages.Item property (Publisher)

Returns the specified Page object from a Pages or MasterPages collection. Read-only.


expression.Item (Item)

expression A variable that represents a Pages object.


Name Required/Optional Data type Description
Item Required Long The number of the page to return. For MasterPages collections, Item can either be 1 or 2 for the left and right master pages, respectively. For Pages collections, Item corresponds to a Page object's PageIndex property.


This example displays the page number, page index, and page ID of the first page in the active publication.

With ActiveDocument.Pages.Item(1) 
 Debug.Print "Page number = " & .PageNumber 
 Debug.Print "Page index = " & .PageIndex 
 Debug.Print "Page ID = " & .PageID 
End With

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.