Export (0) Print
Expand All
Expand Minimize

_Application.Cursor property

Returns or sets the appearance of the mouse pointer in Microsoft Excel.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

XlMousePointer Cursor { get; set; }

XlMousePointer can be one of these XlMousePointer constants:

xlDefault The default pointer.

xlIBeam The I-beam pointer.

xlNorthwestArrow The northwest arrow pointer.

xlWait The hourglass pointer.

The Cursor property isn't reset automatically when the macro stops running. You should reset the pointer to xlDefault before your macro stops running.

Community Additions

ADD
Show:
© 2014 Microsoft