Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Screen.MousePointer Doesn't Work

Status
Not open for further replies.

gharabed

Programmer
Sep 7, 2001
251
US
Setting the cursor to busy via the Screen.MousePointer=vbHourGlass doesn't seem to work in VBA. I've used it in strict VB code and it works fine. What's going on?
 
If you're trying to run the hourglass in MS Access (even with VBA) then change the value...vbDefault & vbHourglass are not recognised.

Instead use:
Screen.Mouspointer = 0 (which is vbDefault)
Screen.Mousepointer = 11 (which is the hourglass)

Of course you can use
DoCmd.HourGlass True & DoCmd.Hourglass False

Hope this helps

birklea
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top