none
How to check if a listbox is empty. Not if nothing is selected, but if it is really void of any inputs RRS feed

  • Question

  • Hi. may i check if there is a way to determine if a listbox is empty.

    this works when nothing is selected for the listbox     (if ListBox1.value=" ")

    however, i am not just trying to see if nothing is selected in a listbox. what i am trying to check is if the listbox is not being populated at all.

    I have tried ListBox.TopIndex= ""

    ListBox.Count etc. but all that i have tried required a selection to be made.

    kindly advise.

    Wednesday, January 16, 2013 1:21 PM

All replies