Unfortunately, that doesn't work. I fill the combo box and then delete, for example, item 3 (with index 2). The combo box is repopulated. If I then select the third item again (with index 2), the sub isn't executed because the index is 2 again and therefore hasn't changed. I'd like to fix that problem.
I clear the cmbobox with cmbbox.clear but there should also be a cmbbox.clearindex.