MoveAfterReturn Property

Microsoft Excel Visual Basic

MoveAfterReturn Property

       

True if the active cell will be moved as soon as the ENTER (RETURN) key is pressed. Read/write Boolean.

Remarks

Use the MoveAfterReturnDirection property to specify the direction in which the active cell is to be moved.

Example

This example sets the MoveAfterReturn property to True.

Application.MoveAfterReturn = True