Re: Mouse Pointer resetting
Usually msgbox does not change pointer (when you move it away from the msgbox). In case that your pointer is changing after each msgbox, set it again to vbHoutglass after each msg
Screen.Mousepointer = vbHourglass
While ... Do
.....
msgbox
Screen.Mousepointer = vbHourglass
.....
msgbox
Screen.Mousepointer = vbHourglass
.....
Loop
Screen.Mousepointer = vbDefault
Iouri Boutchkine
[email protected]
Re: Mouse Pointer resetting
Using Screen.MousePointer I did get it to work following your example however I think that this is a poor way to 'have' to do this.
The way I originally wrote this I had the click event for the button set the Form.MousePointer to vbHourGlass, then call the function that takes a long time and finally reset the pointer to an arrow.
I think that the function doing the work should not 'have' to do anything with the mouse pointer but maybe there is no way around this as I am new to such long processing functions and have never had to set the mouse pointer.
In sum: thanks again Iouri I can always count on good code from you to work well.
-K