I wanted to create a "mouse over tool tip", which displays a userform when the mouse is hovering over a label on my worksheet, and then closes the userform when the mouse moves away.
So far I have managed to achieve this using POINTAPI to create MouseX and MouseY functions to detect the location of the mouse with the "Label1_MouseMove" event.
My issue now is how do I a) make this same macro apply to all labels on the worksheet? And b) How can I get the screen coordinates for the location of the control?Please Login or Register to view this content.
At present I have had to manually work out the location of the control. Using ".Top" and ".Left" only returns the position inside of the worksheet, not the location on the screen itself.
If anyone has any ideas on either of these issues, it would be greatly appreciated!
Bookmarks