Share via


Range.DirectPrecedents Property

Returns a Range object that represents the range containing all the direct precedents of a cell.

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

Syntax

'Declaration
ReadOnly Property DirectPrecedents As Range
    Get
'Usage
Dim instance As Range
Dim value As Range

value = instance.DirectPrecedents
Range DirectPrecedents { get; }

Property Value

Type: Microsoft.Office.Interop.Excel.Range

Remarks

The DirectPrecedents property only works on the active sheet and can not trace remote references.

See Also

Reference

Range Interface

Range Members

Microsoft.Office.Interop.Excel Namespace