LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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/

 
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 04:47 PM.

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"