Selection.Previous(Object, Object) Selection.Previous(Object, Object) Method

Definition

Returns a Range object relative to the specified selection.

public Microsoft.Office.Interop.Word.Range Previous (ref object Unit, ref object Count);
Public Function Previous (Optional ByRef Unit As Object, Optional ByRef Count As Object) As Range
Parameters
Unit
Object Object

Optional Object. WdUnits.

Count
Object Object

Optional Object. The number of units by which you want to move back. The default value is 1.

Returns

Remarks

If the selection is just after the specified Unit, the selection is moved to the previous unit.

Applies to