Name

Application.MoveAfterReturnDirection [=XlDirection]

Synopsis

Sets or returns which cell is activated after the user presses Enter. Can be one of these settings:

xlDown (default)

xlToLeft

xlToRight

xlUp

Get Programming Excel with VBA and .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.