Remove all Listbox items

  • Thread starter Thread starter Todd Huttenstine
  • Start date Start date
T

Todd Huttenstine

Whats the quickest way to remove every item in a listbox?

Todd
 
Todd

It depends how it was populated

Me.ListBox1.Clear

if the AddItem method was used and

Me.ListBox1.RowSource = ""

if the RowSource property was used.
 
Thanks
Todd Huttenstine
-----Original Message-----
Todd

It depends how it was populated

Me.ListBox1.Clear

if the AddItem method was used and

Me.ListBox1.RowSource = ""

if the RowSource property was used.

--
Dick Kusleika
MVP - Excel
Excel Blog - Daily Dose of Excel
www.dicks-blog.com




.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top