API Documentation > CorelDRAW > 2025-v26 > TextRange > IVGTextRange
TextRange.Select method
Selects the characters in the range
Syntax:
Sub Select()
Remarks:
The Select method selects the characters in a text range.
Examples:
The following VBA example places the text in editing mode and selects the first word.
Sub Test()
Dim d As Document
Dim t As Text
Dim s As Shape
Set d = CreateDocument
Set s = d.ActiveLayer.CreateParagraphText(3, 3, 5, 5, "This is an example.")
Set t = s.Text
t.BeginEdit
t.Story.Words.First.Select 
End Sub