_Document.Range Method

Returns a Range object by using the specified starting and ending character positions.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Function Range ( _
    ByRef Start As Object, _
    ByRef End As Object _
) As Range
'Usage
Dim instance As _Document
Dim Start As Object
Dim End As Object
Dim returnValue As Range

returnValue = instance.Range(Start, End)
Range Range(
    ref Object Start,
    ref Object End
)

Parameters

  • Start
    Type: System.Object%
    Optional Object. The starting character position.
  • End
    Type: System.Object%
    Optional Object. The ending character position.

Return Value

Type: Microsoft.Office.Interop.Word.Range

See Also

Reference

_Document Interface

_Document Members

Microsoft.Office.Interop.Word Namespace