Master Property

       

Returns a Page object that represents the master page properties for the specified page.

expression.Master

expression   Required. An expression that returns one of the objects in the Applies To list.

Example

This example adds a shape to the master page for the first page in the active publication.

Sub AddNewMasterPageShape()
    With ActiveDocument.Pages(1).Master.Shapes.AddShape _
            (Type:=msoShape5pointStar, Left:=512, _
            Top:=50, Width:=50, Height:=50)
        .Fill.ForeColor.CMYK.SetCMYK Cyan:=255, _
            Magenta:=255, Yellow:=0, Black:=0
    End With
End Sub