What event is triggered when user selects value from drop down ComboBox (Active X). How it can be defined in VBA. I would like to trigger macro when value is selected from drop down.
4
votes
2 Answers
0
votes
If you're using a ComboBox
control in a UserForm
, it usually have an AfterUpdate Event
.
If you're using an ActiveX Control ComboBox
in a Sheet, you can try LostFocus Event
.
Private Sub ComboBox1_LostFocus()
End Sub
This way, you can type in values and then run the routine after you select another object.
ComboBox_Change
event is triggered when a user selects a value.ActiveX
have their own events you can use to run routines. I see you have previous questions related to this as well. Might as well add illustration or screen shot of your issue or what you're trying to achieve. That will add clarity and will attract more answers. – L42