Share via


Shapes.Title Property

PowerPoint Developer Reference

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.

Visual Basic for Applications
  Set myDocument = ActivePresentation.Slides(1)
myDocument.Shapes.Title.TextFrame.TextRange.Text = "Welcome!"

See Also