Range.MoveStart procedure builder

Range.MoveStart (Word)

Moves the start position of the specified range.

This method returns an integer that indicates the number of units by which the start position or the range actually moved, or it returns 0 (zero) if the move was unsuccessful.

MoveStart (Unit, Count)

If ActiveDocument.Words.Count >= 2 Then 
 Set myRange = ActiveDocument.Words(2) 
 With myRange 
 .MoveStart Unit:=wdWord, Count:=-1 
 .Select 
 End With 
End If

Arguments

Optional arguments

The following arguments are optional

Unit - The unit by which start position of the specified range is to be moved

Count - The maximum number of units by which the specified range is to be moved. If Count is a positive number, the start position of the range is moved forward in the document. If it is a negative number, the start position is moved backward. If the start position is moved forward to a position beyond the end position, the range is collapsed and both the start and end positions are moved together. The default value is 1