MichaelRSnow
Active Member
- Joined
- Aug 3, 2010
- Messages
- 409
Hi
I have a very annoying issue that i can;t get my head around, I have a ComboBox change event that refreshes a list as its typed and reduces the options in the drop down list. Works fine
BUT
Once I have selected a item from the list, running any other code/macros elsewhere in the document re-runs the change event which interrupts and breaks these macros and it re-selects the question previously selected.
Is there anyway i can get this list to refresh whilst typing in the ComboBox list box but not Auto-refresh this list when using other ComboBox's and VB Macro afterwards
Code used to create dynamic drop down selection list that refreshes and reduces as words are typed
I have a very annoying issue that i can;t get my head around, I have a ComboBox change event that refreshes a list as its typed and reduces the options in the drop down list. Works fine
BUT
Once I have selected a item from the list, running any other code/macros elsewhere in the document re-runs the change event which interrupts and breaks these macros and it re-selects the question previously selected.
Is there anyway i can get this list to refresh whilst typing in the ComboBox list box but not Auto-refresh this list when using other ComboBox's and VB Macro afterwards
Code used to create dynamic drop down selection list that refreshes and reduces as words are typed
Code:
Sub Question_Change()
'Question
If Sheets("ASK").Range("B8").Value = "" Then
ComboBox1.ListFillRange = "DropDownList1"
Me.ComboBox1.DropDown
Else
ComboBox1.ListFillRange = "DropDownList2"
Me.ComboBox1.DropDown
End If
End Sub