XL97: List Box Click Event May Not Occur (170305)
The information in this article applies to:
- Microsoft Excel 97 for Windows
This article was previously published under Q170305 SYMPTOMS
When you create a macro and attach it to the Click event for a ListBox
control, the macro may not run when you click the list box.
CAUSE
When you create a Click event macro that is attached to a ListBox control,
the macro runs only when the value in the ListBox control changes. The
Click event does not occur if you click the same value in the control.
RESOLUTION
To run a macro whenever you click a ListBox control, use another event,
such as the MouseDown or MouseUp event. For more information, please see
the example in the "More Information" section in this article.
REFERENCES
For more information about the Click event, click the Office Assistant in
the Visual Basic Editor, type click event,click Search, and then click
to view "Click Event."
NOTE: If the Assistant is hidden, click the Office Assistant button on the
Standard toolbar. If Microsoft Help is not installed on your computer,
please see the following article in the Microsoft Knowledge Base:
120802 Office: How to Add/Remove a Single Office Program or Component
Modification Type: | Major | Last Reviewed: | 10/22/2000 |
---|
Keywords: | kbcode kbprb kbProgramming KB170305 |
---|
|