Partager via


TextFrame.DeleteText Method (PowerPoint)

Deletes the text associated with the specified shape.

Syntax

expression .DeleteText

expression A variable that represents a TextFrame object.

Example

If shape two on myDocument contains text, this example deletes the text.

Set myDocument = ActivePresentation.Slides(1)

myDocument.Shapes(2).TextFrame.DeleteText

See Also

Concepts

TextFrame Object

TextFrame Object Members