Range.Next procedure builder

Range.Next (Word)

Returns a Range object that represents the specified unit relative to the specified range.

If the range is just before the specified Unit, the range is moved to the following unit. For example, if the range is just before a word, the following instruction moves the selected text forward to the following word.

Next (Unit, Count)

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


Optional arguments

The following arguments are optional

Unit - The type of units by which to count. Can be any WdUnits constant

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