Selection.Text Property (Word)
Published: July 16, 2012
Returns or sets the text in the specified selection. Read/write String.
A variable that represents a Selection object.
The Text property returns the plain, unformatted text of the selection. When you set this property, the text of the range or selection is replaced.
This example displays the text in the selection. If nothing is selected, the character following the insertion point is displayed.
This example inserts 10 lines of text into a new document.
For i = 1 To 10
Selection.Text = "Line" & Str(i) & Chr(13)
Selection.MoveDown Unit:=wdParagraph, Count:=1