I have a form that populates a combo box using a series of prior selections using .additem. The number of items in the list is variable.
I then need to check the combo box contains a mandatory item and if it is not in the list, add it (but not duplicating it if it already exists).
E.g. users can select any numbers between 1 and 10 and they are added to the combo box but the list must always contain a 1 (but I can only do this check after the list has been created).
Can anybody tell me how to check if an entry is in a combo box list?
Thx
I then need to check the combo box contains a mandatory item and if it is not in the list, add it (but not duplicating it if it already exists).
E.g. users can select any numbers between 1 and 10 and they are added to the combo box but the list must always contain a 1 (but I can only do this check after the list has been created).
Can anybody tell me how to check if an entry is in a combo box list?
Thx