Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default cursor or mouse move

hi all

anyone suggest how i might include in a macro some code to make the
mouse/cursor (arrow or cross shape) goto or hover in a specific area of
the screen as sometimes it appears above an object after a macro has
fired on one worksheet and when it arrives at the destination sheet it
is over an object and a desciptive box appears intrusively

or is it possible to disable within an XL file this descriptive box
feature - however i still wish to retain the hour glass and hand icons
that appear when you hover over a button , or it is in proceess
executing a macro

thanks, matt

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default cursor or mouse move

This will move the mouse cursor to the top left of the active screen.
You can play with other co-ordinates to see

'--------------------------------------
Private Declare Function SetCursorPos Lib "User32" _
(ByVal x As Long, ByVal y As Long) As Long

Sub Mouse_TopLeft()
SetCursorPos 0, 0
End Sub
'------------------------------------------


---
Message posted from http://www.ExcelForum.com/

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
mouse cursor struck to big white + sign scienty Excel Discussion (Misc queries) 2 March 1st 09 05:23 PM
How do I move the cursor to the edit window without the mouse? JD Excel Discussion (Misc queries) 1 October 6th 08 01:03 PM
move cursor on one sheet moves cursor on all sheets tdworden Excel Discussion (Misc queries) 2 July 22nd 07 10:50 PM
Have gridlines appear around mouse cursor in Excel James Grotjohn Excel Discussion (Misc queries) 1 June 6th 06 10:51 PM
how can i print a screen showing mouse cursor Clive Excel Discussion (Misc queries) 1 June 13th 05 02:49 AM


All times are GMT +1. The time now is 03:41 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"