View Full Version : Clearing a ListBox
I have a ListBox on a form that is repopulated many times based on various buttons the user selects.  I can remove items by looping through what is already there before adding the new items, but that seems like brute force.  Is there a simple way to clear the contents of a ListBox?
Thanks
UserForm1.ListBox1.Clear
  Is this what you mean? Dave
UserForm1.ListBox1.Clear
  Is this what you mean? Dave
Yes, that is it.  Seems so obvious :banghead:
Thanks
Zack Barresse
01-15-2006, 09:02 PM
Always the simple stuff, ain't it?  :)
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.