編輯

共用方式為


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);
abstract member Previous : obj * obj -> Microsoft.Office.Interop.Word.Range
Public Function Previous (Optional ByRef Unit As Object, Optional ByRef Count As Object) As Range

Parameters

Unit
Object

Optional Object. WdUnits

Count
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