0

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?

1
  • 1
    show us the code you already built and what you've tried so far Commented Nov 5, 2011 at 9:05

1 Answer 1

1

Remove the old items before adding new ones, using

ListBox1.Clear
Sign up to request clarification or add additional context in comments.

1 Comment

The above answer does solve the problem but a message box should be prompting up after clicking once

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.