Edit

Share via


_Application.Cursor Property

Definition

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

public:
 property Microsoft::Office::Interop::Excel::XlMousePointer Cursor { Microsoft::Office::Interop::Excel::XlMousePointer get(); void set(Microsoft::Office::Interop::Excel::XlMousePointer value); };
public Microsoft.Office.Interop.Excel.XlMousePointer Cursor { get; set; }
Public Property Cursor As XlMousePointer

Property Value

Remarks

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.

Applies to