Mouse Position

M

Max Potters

Hi all,

I'm trying to run a code when the mouse pointer comes on a specific range
on, for example, Sheet1. Im trying to run a little macro which shows a
toolbar, when the cursor is on the X, Y ranges of the standard toolbar (when
the cursor moves over the toolbar's position, while the toolbar is not
visible, it makes it visible).

Does anyone know how to do this?

Thanks in advance
Max
 
F

Frank Kabel

Hi
not really possible as there's no event which return the X/Y position
on a spreadsheet. So you'll have to use Windows aPI functions and
CALCULATE the mouse position on your spreadsheet
 
G

Guest

hi,
not really possible to do that.
but you might be able to play tricks.
Put a label control on the range somewhere. you can then
use the label controls mouse move event.
 

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