TextRange Property

Returns a TextRange object that represents the selected text (Selection object) or the text in the specified text frame (TextFrame object).

expression.TextRange

*expression   * Required. An expression that returns one of the above objects.

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.

Windows(1).Selection.TextRange.Font.Bold = True

Applies to | Selection Object | TextFrame Object

See Also | Text Property | TextFrame Property