Number of items in a combo box
bootyshak
-
bootyshak -
bootyshak -
Hello,
I'm looking to get the number of items in a combobox so that I can go through all the items it contains. Is there a solution?
Thank you for your responses,
Have a nice day.
I'm looking to get the number of items in a combobox so that I can go through all the items it contains. Is there a solution?
Thank you for your responses,
Have a nice day.
5 answers
-
-
-
Solution here then: https://docs.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2008/fte6kbt2(v=vs.90)?redirectedfrom=MSDN
ComboBox1.Items.Count() -
Hello,
Dim i As Long For i = 0 To Combo1.ListCount - 1 MsgBox Combo1.List(i) Next i
;o)
--
“What is well conceived can be clearly expressed, And the words to say it come easily.”
Nicolas Boileau -