Range.Previous(Object, Object) Range.Previous(Object, Object) Method

Definition

Returns a Range object relative to the specified selection or range.

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 range is just after the specified Unit, the range is moved to the previous unit.

Applies to