_Application.MoveAfterReturnDirection Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.