Application.CursorMovement Property (Excel)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Returns or sets a value that indicates whether a visual cursor or a logical cursor is used. Can be one of the following constants: xlVisualCursor or xlLogicalCursor. Read/write Long.

expression .CursorMovement

expression A variable that represents an Application object.

These constants may not be available to you, depending on the language support (U.S. English, for example) that you’ve selected or installed.

This example sets Microsoft Excel to use the visual cursor.

Application.CursorMovement = xlVisualCursor