Bewerken

Delen via


Application.MoveAfterReturn property (Excel)

True if the active cell is moved as soon as the Enter (Return) key is pressed. Read/write Boolean.

Syntax

expression.MoveAfterReturn

expression A variable that represents an Application object.

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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.