ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Application.Cursor = xlDefault not working (https://www.excelbanter.com/excel-programming/327154-application-cursor-%3D-xldefault-not-working.html)

RB Smissaert

Application.Cursor = xlDefault not working
 
Using Excel 2002.
Have to change the mouse cursor to xlWait for a lengthy (few minutes) ADO
routine.
When this routine is finished I do:
Application.Cursor = xlDefault
but the hourglass mouse cursor stays there.
I have tried DoEvents and some other tricks, but the only thing that works
sofar is to do a little mouse move with the Windows API. A manual mouse move
will make the default cursor return as well.
The ADO routine is simple, works fine and is definitely finished.
Any ideas what could be causing this?

RBS



All times are GMT +1. The time now is 08:18 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com