Rediger

Del via


Presentation.AddTitleMaster method (PowerPoint)

Adds a title master to the specified presentation and returns a Master object that represents the title master.

Syntax

expression. AddTitleMaster

expression A variable that represents a Presentation object.

Return value

Master

Remarks

If the presentation already has a title master, an error occurs.

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

See also

Presentation Object

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.