AddTitleMaster Method

Microsoft PowerPoint Visual Basic

AddTitleMaster Method

       

Adds a title master to the specified presentation. Returns a Master object that represents the title master. If the presentation already has a title master, an error occurs.

expression.AddTitleMaster

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

Example

This example adds a title master to the active presentation if it doesn't already have one.

With Application.ActivePresentation
    If Not .HasTitleMaster Then .AddTitleMaster
End With