Article ID: 170305
Article Last Modified on 10/22/2000
APPLIES TO
- Microsoft Excel 97 Standard Edition
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
Additional query words: fire trigger
Keywords: kbprogramming kbprb kbcode KB170305