Range.Next(Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a Range object that represents the specified unit relative to the specified range.
public Microsoft.Office.Interop.Word.Range Next (ref object Unit, ref object Count);
abstract member Next : obj * obj -> Microsoft.Office.Interop.Word.Range
Public Function Next (Optional ByRef Unit As Object, Optional ByRef Count As Object) As Range
Parameters
- Count
- Object
Optional Object. The number of units by which you want to move ahead. The default value is one.
Returns
Remarks
If the range is just before the specified Unit
, the range is moved to the following unit.