Selection.TextRange property (PowerPoint)

Returns a TextRange object that represents the selected text. Read-only.



expression A variable that represents a Selection object.

Return value



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.


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

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

See also

Selection 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.