ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   doubleclick mrehod (https://www.excelbanter.com/excel-programming/393202-doubleclick-mrehod.html)

dan

doubleclick mrehod
 
According to Microsoft VB help the below should send a double click - but
this is not working - any idea how I can send a double click on a cell in
Excel.

Thnaks
Dan

Worksheets("Sheet1").Activate
Application.DoubleClick


steve_doc

doubleclick mrehod
 
Hi Dan

Taken from the VBE help section
"This example double-clicks the active cell on Sheet1."

all that that does is simulates a user dbl Clicking the Active Sheet, which
will not do anything unless you have written an event handler for the
Sheet1_DblClick event

HTH

"Dan" wrote:

According to Microsoft VB help the below should send a double click - but
this is not working - any idea how I can send a double click on a cell in
Excel.

Thnaks
Dan

Worksheets("Sheet1").Activate
Application.DoubleClick


NickHK

doubleclick mrehod
 
Dan,
Yes, Excel 2002 that seems to do nothing.
Depends what you are trying to achieve ??

SendKeys "{F2}"

NickHK

"Dan" wrote in message
...
According to Microsoft VB help the below should send a double click - but
this is not working - any idea how I can send a double click on a cell in
Excel.

Thnaks
Dan

Worksheets("Sheet1").Activate
Application.DoubleClick





All times are GMT +1. The time now is 03:12 AM.

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