Recognize a chart-datapoint for use in vba

H

hglamy

Hello there,

I would like be able to start a VBA-Procedure, when
the mouse pointer hovers over a certain data point in
a chart (XL 2003).

Obviously, XL knows when the cursor "touches" a data
point, since it displays a tool tip with its values.

Can I, and if so how, make use of that XL-side trapping
of spots under the mouse to harness it for a macro ?

Thank you in advance.

Kind regards,

H.G. Lamy
 
A

Andy Pope

Hi H.

Maybe Jon's example will give a starting point.
(http://www.geocities.com/jonpeltier/Excel/Charts/chartvba.html#PointInfo)
Hello there,

I would like be able to start a VBA-Procedure, when
the mouse pointer hovers over a certain data point in
a chart (XL 2003).

Obviously, XL knows when the cursor "touches" a data
point, since it displays a tool tip with its values.

Can I, and if so how, make use of that XL-side trapping
of spots under the mouse to harness it for a macro ?

Thank you in advance.

Kind regards,

H.G. Lamy

--

Cheers
Andy

http://www.andypope.info
 
H

hglamy

Thank you, Andy,

I thought I knew Jon's site,
but I obviously I have never
got to the "PointInfo"-samples.

Kind regards,

H.G. Lamy
 

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