Find cursor position relative to extents of a picture

Joined
Mar 30, 2009
Messages
1
Reaction score
0
Hi forum members:

It's my first post here, and yeah I need help with something.. really hope one of ya will be willing to demonstrate great geek generosity to moi. :)

I'm trying to create a macro that will return the coordinates of the point clicked on the picture relative to the extents of the picture edges. In other words, when i click on the picture it will compare the current cursor position (not cell position) with the position of the edges of the picture and give me back a consistent relative position to the picture.

I need this as for work purposes I need to figure out how to click on a map of something and have it give me the coordinates of the point on the map that was clicked on.

I've seen some code that can use the edges of charts as position data, but not for picture edges. Is there such a thing available?

Anyone able to help me out? :)
 

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

Top