Selection.Previous procedure builder

Selection.Previous (Word)

Moves the selected text by the specified number of units, and returns a Range object relative to the collapsed selection.

If the selection is just after the specified Unit, the selection is moved to the previous unit. For example, if the selection is just after a word (before the trailing space), the following instruction moves the selection backward to the previous word.

Previous (Unit, Count)

Selection.Previous(Unit:=wdWord, Count:=1).Select


Optional arguments

The following arguments are optional

Unit - Specifies the type of unit by which to move the selection. Can be one of the WdUnits constants

Count - The number of units by which you want to move. The default value is 1