Partager via


Shape.Title Property (PowerPoint)

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

Version Information

Version Added: PowerPoint 2010

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

Concepts

Shape Object Members

Shape Object