Share via


Range.NavigateArrow Method

Navigates a tracer arrow for the specified range to the precedent, dependent, or error-causing cell or cells.

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

Syntax

'Declaration
Function NavigateArrow ( _
    TowardPrecedent As Object, _
    ArrowNumber As Object, _
    LinkNumber As Object _
) As Object
'Usage
Dim instance As Range
Dim TowardPrecedent As Object
Dim ArrowNumber As Object
Dim LinkNumber As Object
Dim returnValue As Object

returnValue = instance.NavigateArrow(TowardPrecedent, _
    ArrowNumber, LinkNumber)
Object NavigateArrow(
    Object TowardPrecedent,
    Object ArrowNumber,
    Object LinkNumber
)

Parameters

  • TowardPrecedent
    Type: System.Object

    Optional Object. Specifies the direction to navigate: True to navigate toward precedents; False to navigate toward dependent.

  • ArrowNumber
    Type: System.Object

    Optional Object. Specifies the arrow number to navigate; corresponds to the numbered reference in the cell's formula.

  • LinkNumber
    Type: System.Object

    Optional Object. If the arrow is an external reference arrow, this argument indicates which external reference to follow. If this argument is omitted, the first external reference is followed.

Return Value

Type: System.Object

Remarks

Selects the precedent, dependent, or error cells and returns a Range object that represents the new selection. This method causes an error if it's applied to a cell without visible tracer arrows.

See Also

Reference

Range Interface

Range Members

Microsoft.Office.Interop.Excel Namespace