+ Reply to Thread
Results 1 to 2 of 2

Vba to record mouse movement

  1. #1
    Registered User
    Join Date
    10-25-2011
    Location
    wales
    MS-Off Ver
    Excel 2003
    Posts
    34

    Vba to record mouse movement

    Guys,

    Is there a way to record the mouse movements within VBA. I essentially want to use excel to open an external program and execute specific commands within that program. Unfortunaetly the extrenal program is not a micorsoft program

    Kind Regards
    Craig

  2. #2
    Forum Contributor
    Join Date
    04-24-2007
    Location
    NYC
    MS-Off Ver
    2k3/2k7/2010
    Posts
    270

    Re: Vba to record mouse movement

    Try to see if the external application accepts any connections. That would be the best way to go from there.

    Otherwise you can download a mouse tracking program. That will give you the coordinates of where your mouse is. You can then use VBA to move mouse to the coordinates and use click command. How ever you would have to account for lag time in your code and also the monitor and resolution size of your screen.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Record mouse movement
    By papasmurfuo9 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-21-2014, 08:55 AM
  2. Run if no mouse movement/activity
    By Subject_Name_Here in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-15-2013, 09:04 AM
  3. Run macro if no mouse movement and workbook active
    By Subject_Name_Here in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-30-2013, 12:50 AM
  4. [SOLVED] Mouse movement over a worksheet
    By Edward Ulle in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-05-2006, 04:35 PM
  5. [SOLVED] Mouse movement on worksheet
    By InExcelHell in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-11-2005, 12:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1