moving mouse pointer

N

nath

Hi

Is it possible, and does anyone know, how to move the
mouse pointer using VBA.

I want to do this in order to be able to select an option
from a drop down list and then the mouse pointer will move
to the button on my sheet that will achieve this task.

i.e. Selecting "Enter Data" from the drop down list, moves
the pointer to the "Enter Data" button.

TIA

Nath.
 
G

Guest

moveing the mouse pointer can be done but it was be
useless to do so.
pointing and click with the mouse trigers code to run.
it's what GUI is all about. it's call event driven
programing. Typing on the keyboard does the same.
so forget moving the mouse. Just run code to select what
is in the combo box then call the code behind your button.
If you are serious about adding this code, i would rethink
the use of the combo box.
 
Top