ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   senkey - double click (https://www.excelbanter.com/excel-programming/393200-senkey-double-click.html)

dan

senkey - double click
 
Is it possible to simulate a "double click" in Excel using sendkey.
for example I noticed that SendKeys ("+{F10}") is sending a Right click -
but I need a double click.
If sendkey is not the solution - is there any other way.
Many thanks,
Dan

steve_doc

senkey - double click
 
Hi Dan

Depending what you are attempting to do - there is a dblClick event
associated with Controll Button objects.

Not sure if this suits your purpose

HTH

"Dan" wrote:

Is it possible to simulate a "double click" in Excel using sendkey.
for example I noticed that SendKeys ("+{F10}") is sending a Right click -
but I need a double click.
If sendkey is not the solution - is there any other way.
Many thanks,
Dan


Mike H

senkey - double click
 
Hi,

I'm not sure about Senkeys for that but there are 2 events you can use the
workbook or worksheet double_click event.

Mike


"Dan" wrote:

Is it possible to simulate a "double click" in Excel using sendkey.
for example I noticed that SendKeys ("+{F10}") is sending a Right click -
but I need a double click.
If sendkey is not the solution - is there any other way.
Many thanks,
Dan


dan

senkey - double click
 
Thanks guys, but thiis is not what I am after, I want to be able to send a
double click - and not to check if a double click was done or not.

"Mike H" wrote:

Hi,

I'm not sure about Senkeys for that but there are 2 events you can use the
workbook or worksheet double_click event.

Mike


"Dan" wrote:

Is it possible to simulate a "double click" in Excel using sendkey.
for example I noticed that SendKeys ("+{F10}") is sending a Right click -
but I need a double click.
If sendkey is not the solution - is there any other way.
Many thanks,
Dan



All times are GMT +1. The time now is 10:07 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com