Mouse Position

J

John

Hi there,

I'd like to write a procedure that drops a series of shapes onto the page,
with the PinX/Y of the initial shape being defined by the user clicking the
mouse somewhere on the page.

I'm fine with the dropping shapes part, but can anyone point me in the right
direction for getting the click and position of the mouse?

Thanks

John
 
J

John

Thanks June. I can see the MouseUp event would work, but could I just halt
the code at some point in a procedure and then wait for the mouse click
(MouseUp), get the XY and return to the procedure?

John
 
J

JuneTheSecond

I am sorry I dont know how to halt the code at some point in VBA.
But, a procedure stops normaly at the end of the code, so, I prepare a set
of a very short procedure for a purpose.
 

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