Shapes.Title property (PowerPoint)

Returns a Shape object that represents the slide title. Read-only.

Syntax

expression.Title

expression A variable that represents a Shapes object.

Return value

Shape

Remarks

You can also use the Item method of the Shapes or Placeholders collection to return the slide title.

Example

This example sets the title text on myDocument.

Set myDocument = ActivePresentation.Slides(1)

myDocument.Shapes.Title.TextFrame.TextRange.Text = "Welcome!"

See also

Shapes 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.