The function combobox (CB_FUNC) determines what list the Component combobox (CB_COMP) generates. Therefore, the two are interdependent. Additionally, when the user selects an option from either one of these comboboxes a code generates in the search textbox (TB_SEARCH) . The lists, as well as the code generated, are based off the named range (GEN_CODES). While I got everything as I explained to work, I would like that whenever CB_FUNC and CB_COMP have values displayed, the BLN combobox (CB_BLN) and FLN combobox (CB_FLN) are null, which is where I am struggling.
The BLN combobox (CB_BLN) and the FLN combobox (CB_FLN) are NOT interdependent. When one has a value displayed the three remaining comboboxs should show a null string. For example, if a user selects an item from CB_BLN then CB_FUNC, CB_COMP, and CB_FLN should all show an empty value. Or if a user selects an item from CB_FLN then CB_FUNC, CB_COMP, and CB_BLN should all show an empty value.
PROBLEM: The change events for CB_FUNC, CB_COMP, CB_BLN, and CB_FLN appear to create an endless loop (when one changes the others change and this goes back and forth until excel ultimately crashes). I've tried enable events, I've tried various renditions of if, and, or clauses to narrow down exactly what I want to have happen, among many other things. I'm at my wits end. While everything else seems to work the way I explained, this is my one hold up. Your help would be greatly appreciated.
Note: to show the userform click on cell A11 on the “Points” ws. To see the named ranges go to the “Parts” ws. Thanks again for any help.
Bookmarks