Moving the mouse pointer by VBA code

N

Nick

Can anyone help me to use VBA code to move the mouse
pointer to a specific part of the screen? I need the
pointer to move over a command button so that when the
left mouse button is clicked, the macro assigned to it
will run.

Thanks,

Nick
 
P

Patrick Ogenstad

Hi Nick,

Why do you have to move the pointer, why don't you just run the macro
assigned to the button with the VBA code you were going to use to move the
mouse pointer?

// Patrick
 

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