Mouse Coordinates

  • Thread starter Thread starter kirkm
  • Start date Start date
K

kirkm

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
 
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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top