View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
RB Smissaert RB Smissaert is offline
external usenet poster
 
Posts: 2,452
Default 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