TextFrame.TextRange Property

PowerPoint Developer Reference

Returns a TextRange object that represents the text in the specified text frame. Read-only.

Syntax

expression.TextRange

expression   A variable that represents a TextFrame object.

Return Value
TextRange

Remarks

You can construct a text range from a selection when the presentation is in slide view, normal view, outline view, notes page view, or any master view.

Example

This example makes the selected text bold in the first window.

Visual Basic for Applications
  Windows(1).Selection.TextRange.Font.Bold = True

See Also