Selection.MoveLeft (Word)

Moves the selection to the left and returns the number of units it has been moved.

When the Unit is wdCell, the Extend argument will only be wdMove.

MoveLeft (Unit, Count, Extend)


If Selection.MoveLeft = 1 Then MsgBox "Move was successful"

Arguments

Optional arguments

The following arguments are optional

Unit (WdUnits) - The unit by which the selection is to be moved.The default value is wdCharacter.

Here you can find possible values for WdUnits

Count (Long) - The number of units the selection is to be moved. The default value is 1.

Extend (WdMovementType) - Can be either wdMove or wdExtend. If wdMove is used, the selection is collapsed to the endpoint and moved to the left. If wdExtend is used, the selection is extended to the left. The default value is wdMove.

Possible return values are wdExtend - The end of the selection is extended to the end of the specified unit, wdMove - The selection is collapsed to an insertion point and moved to the end of the specified unit. Default.