Empty Listbox

P

PeterM

Is there a way to remove all of the entries in a listbox with using
..removeitem for each entry? I've tried to me.listbox1.value = "",
me.listbox1.value=" " and nothing seems to work.

Thanks in advance!
 
D

Douglas J. Steele

If you're trying to remove all of the items, simply reset the RowSource
property to "":

Me.listbox1.RowSource = ""
 
Top