djburnheim
Technical User
I have 10 comboboxes on a form, the procedure that runs for each combobox is exactly the same. Rather than re-typing the code for each combobox is there a way to make it repeat for each...I've looked at for/next, for each and loop statements but can not work out a way to do it.
If combobox1.text <> "" then
'Do something
End If
If combobox2.text <> "" then
'Do the samething
End If
If combobox1.text <> "" then
'Do something
End If
If combobox2.text <> "" then
'Do the samething
End If