collection for the specified publication.
expression.MasterPages
expression Required. An expression that returns one of the objects in the Applies To list.
Example
The following example sets the text in the first text frame on the master page to Second Quarter.
Dim mp As MasterPages
Set mp = ActiveDocument.MasterPages
With mp.Item(1)
.Shapes(1).TextFrame.TextRange.Text = "Second Quarter"
End With