Listbox RemoveItem

R

Raymond Clarke Jr

Has anyone been able to remove items from a listbox where a comma was part of
the string?

I am having problems remove items from a listbox when the string contains a
intended comma. Is there any way around this?

Thanks in advance.
 
D

Dirk Goldgar

Raymond Clarke Jr said:
Has anyone been able to remove items from a listbox where a comma was part
of
the string?

I am having problems remove items from a listbox when the string contains
a
intended comma. Is there any way around this?


I never tried it before, but I just did and it worked fine. My list box had
this RowSource:

A;"B,C";D

I ran this line of code to remove the second item:

Me.List0.RemoveItem "B,C"

What have you tried?
 

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

Top