_Application.Cursor Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.