VBA Wait Cursor

VBA Wait Cursor

ccoomes
Advocate Advocate
1,338 Views
1 Reply
Message 1 of 2

VBA Wait Cursor

ccoomes
Advocate
Advocate

Can someone please teel me the code to set the cursor to an hourglass / Wait while VBA code is being run?

 

All I want to do is for the Cursor to change to an hourglass / Wait while we run some code and then back to the normal cusor after it has finished running.

 

The InteractionEvents.Setcursor method is not what I want to use.

 

I deally the same sort of method you can use in Excel & Word (Application.Cursor = xlWait) would be great.

 

If anyone can supply the code for this simple operation it would be greatly appreciated.

 

Many Thanks.

0 Likes
1,339 Views
1 Reply
Reply (1)
Message 2 of 2

xiaodong_liang
Autodesk Support
Autodesk Support
Hi,

unfortunately , InteractionEvents.Setcursor is the only way to change cursor type. Sorry if this is the bad news for you.
0 Likes