There are no events generated in workbook or sheet when mouse moves over an excel window. But it is obvious that excel 'reads' mouse movement since we can attach a comment to a cell and display it when mouse hovers over that cell.
What is the simplest way to continuously monitor the mouse movement and display it in a cell? It is possible to get the mouse cursor position using GetCursorPos DLL function but it needs to be called every time the mouse moves and there is no way to know when mouse moves.
Regards,
Pravin Kumar.
Bookmarks