Muokkaa

Jaa


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

TextFrame Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.