Share via


Range.Top Property

Returns the distance, in points, from the top edge of row 1 to the top edge of the range.

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

Syntax

'Declaration
ReadOnly Property Top As Object
    Get
'Usage
Dim instance As Range
Dim value As Object

value = instance.Top
Object Top { get; }

Property Value

Type: System.Object

Remarks

If the range is noncontiguous, the first area is used. If the range is more than one row high, the top (lowest numbered) row in the range is used.

See Also

Reference

Range Interface

Range Members

Microsoft.Office.Interop.Excel Namespace