Edit

Share via


_Application.MoveAfterReturnDirection Property

Definition

Returns or sets the direction in which the active cell is moved when the user presses ENTER. Read/write XlDirection.

public:
 property Microsoft::Office::Interop::Excel::XlDirection MoveAfterReturnDirection { Microsoft::Office::Interop::Excel::XlDirection get(); void set(Microsoft::Office::Interop::Excel::XlDirection value); };
public Microsoft.Office.Interop.Excel.XlDirection MoveAfterReturnDirection { get; set; }
Public Property MoveAfterReturnDirection As XlDirection

Property Value

Remarks

XlDirection can be one of these XlDirection constants:

xlDown

xlToLeft

xlToRight

xlUp

If the MoveAfterReturn property is False, the selection doesn’t move at all, regardless of how the MoveAfterReturnDirection property is set.

Applies to