Returning an Object from a Collection (Publisher)
Last modified: September 11, 2013
Applies to: Office 2013 | Publisher 2013
Sub SetFirstPage() Dim pgFirst As Page Set pgFirst = ActiveDocument.Pages.Item(1) End Sub
The Item method is the default method for most collections, so you can write the same statement more concisely by omitting the Item keyword.
Sub SetFirstPage() Dim pgFirst As Page Set pgFirst = ActiveDocument.Pages(1) End Sub