Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 91
Default Mouse Coordinates


Is there any way to get the X & Y position of the mouse, on a Form.

I want to trap a mouse click event relative to position.

Thanks - Kirk
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Mouse Coordinates

By Form, do you mean UserForm? The UserForm's MouseDown, MouseMove and
MouseUp events return the mouse coordinates relative to the UserForm via the
X and Y arguments. Can you make use of those? If not, then you are going to
have to describe your set up in a lot more detail than you have given us so
far.

Rick


"kirkm" wrote in message
...

Is there any way to get the X & Y position of the mouse, on a Form.

I want to trap a mouse click event relative to position.

Thanks - Kirk


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 91
Default Mouse Coordinates

On Mon, 16 Jun 2008 23:36:27 -0400, "Rick Rothstein \(MVP - VB\)"
wrote:

By Form, do you mean UserForm? The UserForm's MouseDown, MouseMove and
MouseUp events return the mouse coordinates relative to the UserForm via the
X and Y arguments. Can you make use of those?


Thanks Rick, that's exactly what I wanted but couldn't remember.

Cheers - Kirk
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
Get Mouse Coordinates Zone[_2_] Excel Programming 2 January 26th 07 05:08 PM
Reading Chart Coordinates with Mouse Events Jon Peltier Excel Programming 0 January 20th 07 11:43 PM
Mouse Coordinates J Streger Excel Programming 0 August 29th 06 03:08 PM
Mouse X-Y Coordinates Bob[_69_] Excel Programming 1 April 17th 06 04:32 AM
Can I grab graph coordinates in Excel via the mouse with VB? Chris Manning Charts and Charting in Excel 6 August 22nd 05 02:38 AM


All times are GMT +1. The time now is 08:58 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"