How do you print out the text from a combo box without printing the box itself?
Thanks,
Seth
Printable View
How do you print out the text from a combo box without printing the box itself?
Thanks,
Seth
Just use the Text property of the combo box. For example, to display the contents of the text portion of the combo box in a message box, you can use:
Msgbox Combo1.Text
Is that what you're looking for? If not, re-post and we'll try again.
If you want the total contents, do this:
Code:Dim intIndex As Integer
For intIndex = 0 To Combo1.ListCount - 1
Debug.Print Combo1.List(intIndex)
Next