Shape.Title property (PowerPoint)

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

Syntax

expression.Title

expression A variable that represents a Shape object.

Remarks

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

Example

The following example sets the title text on myDocument.

Set myDocument = ActivePresentation.Slides(1)

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

See also

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