Export (0) Print
Expand All
Expand Minimize
0 out of 1 rated this helpful - Rate this topic

Range.Start Property (Word)

Returns or sets the starting character position of a range. Read/write Long.

expression .Start

expression A variable that represents a Range object.

Range objects have starting and ending character positions. The starting position refers to the character position closest to the beginning of the story. If this property is set to a value larger than that of the End property, the End property is set to the same value as that of Start property.

This property returns the starting character position relative to the beginning of the story. The main text story (wdMainTextStory) begins with character position 0 (zero). You can change the size of a selection, range, or bookmark by setting this property.

This example returns the starting position of the second paragraph and the ending position of the fourth paragraph in the active document. The character positions are used to create the range myRange.

pos = ActiveDocument.Paragraphs(2).Range.Start 
pos2 = ActiveDocument.Paragraphs(4).Range.End 
Set myRange = ActiveDocument.Range(Start:=pos, End:=pos2)

This example moves the starting position of myRange one character to the right (this reduces the size of the range by one character).

Set myRange = Selection.Range 
myRange.SetRange Start:=myRange.Start + 1, End:=myRange.End
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.