Text Property

Applies To

HeaderFooter object, TextEffectFormat object, TextRange object.

Description

HeaderFooter, TextEffectFormat, or TextRange object: Returns or sets the text contained in the specified object. Read/write String.

See Also

TextFrame property, TextRange property.

Example

This example sets the text and font style for the title on slide one in the active presentation.

Set myPres = Application.ActivePresentation
With myPres.Slides(1).Shapes.Title.TextFrame.TextRange
    .Text = "Welcome!"
    .Font.Italic = True
End With