Reputation: 35
i have a listbox which adds items with a button, every time i click it again adds up those same items which i dont want . can there be any solution for this in VBA?
Upvotes: 0
Views: 747
Reputation: 53127
Remove the old items before adding new ones, using
ListBox1.Clear
Upvotes: 1