Kelvin Stott
Active Member
- Joined
- Oct 26, 2010
- Messages
- 338
Hi All,
Following this recent question on creating mouse-interactive embedded charts (http://www.mrexcel.com/forum/excel-...ouse-interactive-chartobject.html#post3451252), I have struggled to set up a class module with the mousedown event, because I have many sheets with embedded charts, some of which must have the same name because the sheets are copied from a common template.
Therefore, I was wondering if it is possible to get the mouse coordinates/movements without using a class module and mousedown event, by assigning a simple macro to my embedded chart so that the macro is activated to record the mouse coordinates/movements when I click on the chart?
This would certainly make coding much simpler, if someone could please suggest what command I need in my macro to track the mouse...
Thanks in advance for any help.
Best regards,
Kelvin
Following this recent question on creating mouse-interactive embedded charts (http://www.mrexcel.com/forum/excel-...ouse-interactive-chartobject.html#post3451252), I have struggled to set up a class module with the mousedown event, because I have many sheets with embedded charts, some of which must have the same name because the sheets are copied from a common template.
Therefore, I was wondering if it is possible to get the mouse coordinates/movements without using a class module and mousedown event, by assigning a simple macro to my embedded chart so that the macro is activated to record the mouse coordinates/movements when I click on the chart?
This would certainly make coding much simpler, if someone could please suggest what command I need in my macro to track the mouse...
Thanks in advance for any help.
Best regards,
Kelvin