Range.End[XlDirection] Property

Definition

Returns a Range object that represents the cell at the end of the region that contains the source range.

public:
 property Microsoft::Office::Interop::Excel::Range ^ End[Microsoft::Office::Interop::Excel::XlDirection] { Microsoft::Office::Interop::Excel::Range ^ get(Microsoft::Office::Interop::Excel::XlDirection Direction); };
public Microsoft.Office.Interop.Excel.Range End[Microsoft.Office.Interop.Excel.XlDirection Direction] { get; }
Public ReadOnly Property End(Direction As XlDirection) As Range

Parameters

Direction
XlDirection

Required XlDirection. The direction in which to move.

Property Value

Range

Remarks

Equivalent to pressing END+UP ARROW, END+DOWN ARROW, END+LEFT ARROW, or END+RIGHT ARROW.

Applies to