Don't delimit on commas in row source

G

Guest

I'm filling a list box on a form with the variable strFill.

strFill = "Apparel, Clothing & Textiles; Food and Drug; Food, Beverage &
Tobacco..."

And on up to about 50 items.

The problem - I thought the list box would contain the 50 items separated by
semi-colons, but in fact, the comma appears also to be delimiting the
results. So "Apparel" is separate to "Clothing & Textiles".

Any advice would be appreciated.

Daniel
 
D

Duane Hookom

I don't have a clue where your strFill is coming from but you could try
include quotes:
strFill = "'Apparel, Clothing & Textiles'; 'Food and Drug'; 'Food, ...'
 

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