Number of items in a combo box

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.

5 answers

  1. zoubiock Posted messages 57 Status Member 10
     
    Which programming language?
    0
  2. bootyshak
     
    Oh sorry in Visual Basic ;-)
    Thank you
    0
  3. Polux31 Posted messages 7219 Status Member 1 204
     
    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
    0
  4. bootyshak
     
    A huge thank you for your answers, have a nice day.
    0