Table of contents
TOC
Collapse the table of content
Expand the table of content

TextFrame.DeleteText Method (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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

© 2018 Microsoft