Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 260
Default Remove all Listbox items

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

Todd
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 260
Default Remove all Listbox items

nevermind. Im going to use .clear
-----Original Message-----
Whats the quickest way to remove every item in a listbox?

Todd
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 599
Default Remove all Listbox items

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

"Todd Huttenstine" wrote in message
...
Whats the quickest way to remove every item in a listbox?

Todd



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 260
Default Remove all Listbox items

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

"Todd Huttenstine"

wrote in message
...
Whats the quickest way to remove every item in a

listbox?

Todd



.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Items to a ListBox-Unique Items Only jpendegraft[_14_] Excel Programming 2 May 2nd 04 02:27 AM
Items in a Listbox Todd Huttenstine Excel Programming 1 April 26th 04 03:36 PM
Fill a ListBox with items using VBA [email protected] Excel Programming 1 April 21st 04 09:59 PM
Simple Listbox question - how to remove items TBA[_2_] Excel Programming 3 January 10th 04 02:18 AM
Checking Listbox Items Tim[_15_] Excel Programming 1 July 20th 03 05:27 PM


All times are GMT +1. The time now is 03:26 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"