Automate Double-Click

  • Thread starter Thread starter Seth
  • Start date Start date
S

Seth

Does anyone know if it is possible to write a macro to
automatically perform a "double-click" operation on the
mouse. I would like to setup a task to repeatedly use
the double-click on the mouse while AFK at a timed
interval...just need to know if this is possible.

Thanks!
 
You would have better luck executing the result of the double click than to
try to perform a double click as long as your focus is in Excel itself. So
if the double click fired an event, you could trigger the code run by the
double click using application.ontime.

Frank has given you a link to Chip Pearson's page on using
application.ontime.
 
What does AFK mean?

Why not directly call the code that would be run as a result of the
double-click operation?

--
Regards,

Tushar Mehta
MS MVP Excel 2000-2004
www.tushar-mehta.com
Excel, PowerPoint, and VBA tutorials and add-ins
Custom Productivity Solutions leveraging MS Office
 

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

Back
Top