Rediger

Del via


Presentation.TitleMaster property (PowerPoint)

Returns a Master object that represents the title master for the specified presentation.

Syntax

expression. TitleMaster

expression A variable that represents a Presentation object.

Return value

Master

Remarks

If the presentation doesn't have a title master, an error occurs.

Use the AddTitleMaster method to add a title master to a presentation.

Example

If the active presentation has a title master, this example sets the footer text for the title master.

With Application.ActivePresentation

    If .HasTitleMaster Then

        .TitleMaster.HeadersFooters.Footer.Text = "Introduction"

    End If

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.