Applies To
Application Object.
Description
Returns or sets how the active cell is moved after the user presses ENTER (one of xlToLeft, xlToRight, xlUp, or xlDown). This property is available only in Microsoft Excel for Windows 95. Read-write.
Remarks
If the MoveAfterReturn property is False, the selection doesn't move at all, regardless of how the MoveAfterReturnDirection property is set.
See Also
MoveAfterReturn Property.
Example
This example causes the active cell to move to the right when the user presses ENTER.
Application.MoveAfterReturn = True Application.MoveAfterReturnDirection = xlToRight Application.MoveAfterReturnDirection = xlToRight