Partager via


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

Concepts

Shapes Object Members

Shapes Object