+ Reply to Thread
Results 1 to 5 of 5

Mouse_event click

  1. #1
    Registered User
    Join Date
    08-01-2020
    Location
    Paris
    MS-Off Ver
    2016
    Posts
    17

    Mouse_event click

    Hello,
    I'am beginner in VBA and I need some help please.
    I try to handle an external application with vba macro, and actually I need to push a button on this application. The application name is Axel, and I am traying to do this with mouse_event, so the idea is to postion the cursor on the right button then launch a mouse-event leftdown and leftup. But the problem is that the click is happened before that application is opened on the screen so it clicks somewhere else on the screen. Can you please give a help?
    This is my code:

    Please Login or Register  to view this content.
    Also if someone has an other idea to click on a button with only vba It will be a great thing.

    Thank you

  2. #2
    Registered User
    Join Date
    08-01-2020
    Location
    Paris
    MS-Off Ver
    2016
    Posts
    17

    Re: Mouse_event click

    I tried sleep and wait.application method, but it's not working such the instructions are inside a loop.

  3. #3
    Registered User
    Join Date
    08-01-2020
    Location
    Paris
    MS-Off Ver
    2016
    Posts
    17

    Re: Mouse_event click

    No idea to overcome this problem? I'm still blocked

  4. #4
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: Mouse_event click

    .
    60 views and no replies.

    Your opportunities for assistance will be few ... the wait will be long.

    Some things pertinent to the discussion : What is Axel ? Where can one see an operating version of one ? Have you contacted the company that produces Axel, for assistance ?

  5. #5
    Valued Forum Contributor
    Join Date
    12-01-2011
    Location
    Philippines
    MS-Off Ver
    Excel 2016
    Posts
    949

    Re: Mouse_event click

    if you need to simulate a click use AutoHotkey not Excel

    you need to learn to write the code to wait for the window to appear then position the mouse pointer then simulate the click
    they have a forum also i believe

+ 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] doble click to modify selected record in listbox and right click to delete
    By bluepomme in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-08-2019, 08:43 PM
  2. Click -Select File -Sort-Copy-Paste into the master report in one click (Help Please)
    By spider_min in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-22-2018, 01:08 AM
  3. [SOLVED] make button single click to avoid user double click
    By Muzza1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-25-2016, 01:02 AM
  4. [SOLVED] ActiveX combobox click triggers unwanted another comboxbox click event
    By aprildu in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 12-12-2015, 10:08 AM
  5. A macro to right click a cell and select a item from the right click menu?
    By Peavey in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-13-2014, 10:55 AM
  6. Replies: 0
    Last Post: 03-06-2013, 12:52 PM
  7. Replies: 4
    Last Post: 08-02-2005, 09:05 PM

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