MoveAfterReturnDirection Property Example

This example causes the active cell to move to the right when the user presses ENTER.

Application.MoveAfterReturn = True
Application.MoveAfterReturnDirection = xlToRight