Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 112
Default DoubleClick Method?

Excel help states "this is the same as double-clicking a cell", however it
doesn't appear to initiate either the Worksheet, or Workbook
"BeforeDoubleCLick" events?

Shouldn't the "DoubleClick" method trigger one, or both of the
"BeforeDoubleClick" events?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default DoubleClick Method?

What is being refered to by events is that the workbook or worksheet is
listening for the user to initiate the event and upon catching that event it
executes the code. So when the user double clicks on a cell that triggers the
code to run.
--
HTH...

Jim Thomlinson


"mickey" wrote:

Excel help states "this is the same as double-clicking a cell", however it
doesn't appear to initiate either the Worksheet, or Workbook
"BeforeDoubleCLick" events?

Shouldn't the "DoubleClick" method trigger one, or both of the
"BeforeDoubleClick" events?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 112
Default DoubleClick Method?

Thanks Jim,

I was reading in the MSDN Library, and it says in remarks, under the
"BeforeDoubleClick", that the event is not initiated by the "DoubleClick"
method. Frankly that fact should be clarified in the MS Help on the
DoubleClick method - it's little misleading to say that the method is
"equivalent" to a user double-click.

By the way do you know of a way to initiate an event, other than the
"Calculate" event, under program control?



"Jim Thomlinson" wrote:

What is being refered to by events is that the workbook or worksheet is
listening for the user to initiate the event and upon catching that event it
executes the code. So when the user double clicks on a cell that triggers the
code to run.
--
HTH...

Jim Thomlinson


"mickey" wrote:

Excel help states "this is the same as double-clicking a cell", however it
doesn't appear to initiate either the Worksheet, or Workbook
"BeforeDoubleCLick" events?

Shouldn't the "DoubleClick" method trigger one, or both of the
"BeforeDoubleClick" events?

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default DoubleClick Method?

Why would you want to? Double clicking a cell just puts the cell into edit
mode. You can just put a cell into edit mode without worrying about the need
to double click.
--
HTH...

Jim Thomlinson


"mickey" wrote:

Thanks Jim,

I was reading in the MSDN Library, and it says in remarks, under the
"BeforeDoubleClick", that the event is not initiated by the "DoubleClick"
method. Frankly that fact should be clarified in the MS Help on the
DoubleClick method - it's little misleading to say that the method is
"equivalent" to a user double-click.

By the way do you know of a way to initiate an event, other than the
"Calculate" event, under program control?



"Jim Thomlinson" wrote:

What is being refered to by events is that the workbook or worksheet is
listening for the user to initiate the event and upon catching that event it
executes the code. So when the user double clicks on a cell that triggers the
code to run.
--
HTH...

Jim Thomlinson


"mickey" wrote:

Excel help states "this is the same as double-clicking a cell", however it
doesn't appear to initiate either the Worksheet, or Workbook
"BeforeDoubleCLick" events?

Shouldn't the "DoubleClick" method trigger one, or both of the
"BeforeDoubleClick" events?

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 112
Default DoubleClick Method?

Changes can be made to the worksheet from events, which are not in the scope
of UDF's.

"Jim Thomlinson" wrote:

Why would you want to? Double clicking a cell just puts the cell into edit
mode. You can just put a cell into edit mode without worrying about the need
to double click.
--
HTH...

Jim Thomlinson


"mickey" wrote:

Thanks Jim,

I was reading in the MSDN Library, and it says in remarks, under the
"BeforeDoubleClick", that the event is not initiated by the "DoubleClick"
method. Frankly that fact should be clarified in the MS Help on the
DoubleClick method - it's little misleading to say that the method is
"equivalent" to a user double-click.

By the way do you know of a way to initiate an event, other than the
"Calculate" event, under program control?



"Jim Thomlinson" wrote:

What is being refered to by events is that the workbook or worksheet is
listening for the user to initiate the event and upon catching that event it
executes the code. So when the user double clicks on a cell that triggers the
code to run.
--
HTH...

Jim Thomlinson


"mickey" wrote:

Excel help states "this is the same as double-clicking a cell", however it
doesn't appear to initiate either the Worksheet, or Workbook
"BeforeDoubleCLick" events?

Shouldn't the "DoubleClick" method trigger one, or both of the
"BeforeDoubleClick" events?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to use selectionchange instead of doubleclick event? ghost Excel Discussion (Misc queries) 0 December 24th 08 05:00 AM
ON.DOUBLECLICK function C Brandt Excel Discussion (Misc queries) 8 May 20th 07 12:27 AM
doubleclick PH NEWS Excel Worksheet Functions 1 March 10th 06 11:54 AM
Disable Doubleclick Brandon[_5_] Excel Programming 7 January 4th 04 05:27 AM
Before DoubleClick John Pierce Excel Programming 1 October 28th 03 01:47 PM


All times are GMT +1. The time now is 09:48 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"