VBA to position my mouse cursor on my desired spot on screen

E

Edmund

How can I tell VBA to position my mouse cursor at my desired point on screen?

Certain applications (non MS Office) in my desktop does not support
navigation using keyboard punches (eg Ctrl+Right Arrow to select its next
tab). Therefore, I need to tell "VBA to go to a certain position on the
screen". When this is achieved, I will use sendkey (SendKeys "~", True) wrap
up the task.

Pls show me some sample codes. I will adjust the X & Y value to my desired
position.

Edmund
Using Excel 2000
 
N

NickHK

Edmund,
Depending on what these "certain applications" are, the FindWindow,
FindWindowEx and SendMessage may be a more reliable method.

NickHK
 

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