Selection.MoveEnd (Word)

Moves the ending character position of a range or selection.

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

MoveEnd (Unit, Count)


Selection.MoveEnd Unit:=wdCharacter, Count:=-1

Arguments

Optional arguments

The following arguments are optional

Unit (WdUnits) - The unit by which to move the ending character position. The default value is wdCharacter.

Here you can find possible values for WdUnits

Count (Long) - The number of units to move. If this number is positive, the ending character position is moved forward in the document. If this number is negative, the end is moved backward. If the ending position overtakes the starting position, the range collapses and both character positions move together. The default value is 1.