I'm populating a combobox in a userform using an array called arrsem
I've defined the array and populated the combobox using
arrsem is an array filled in a procedure depending on a choice of the user.
If, for instance, only the 2nd and 4th item of arrsem is filled how can I remove the empty lines in the combobox
arrsem(0) = ""
arrsem(1) = "london"
arrsem(2) = ""
arrsem(3) = "berlin"
arrsem(4) = ""
arrsem(5) = ""
arrsem(6) =
I've defined the array and populated the combobox using
Code:
Dim arrsem(6)
cmb_system.List = arrsem
arrsem is an array filled in a procedure depending on a choice of the user.
If, for instance, only the 2nd and 4th item of arrsem is filled how can I remove the empty lines in the combobox
arrsem(0) = ""
arrsem(1) = "london"
arrsem(2) = ""
arrsem(3) = "berlin"
arrsem(4) = ""
arrsem(5) = ""
arrsem(6) =