Hi
When ever I chnge the listIndex or text property of the combo box, the click event occures.
Is there any way to stop this from happening because I want the code in the click event to be executed only when the user click on an item in the combo.
Printable View
Hi
When ever I chnge the listIndex or text property of the combo box, the click event occures.
Is there any way to stop this from happening because I want the code in the click event to be executed only when the user click on an item in the combo.
Sure you can, use a boolean which you set to true when you update the listindex in code, and set it back to false when you finished with that.
In the click event, check if the boolean is true, and if it is, exit sub.
Thanks!!!