Check if text box has more than one entry seperated by a comma

L

Les

Hi all,

I have a text box that the user can put in either a single 7 digit part
number or more than one part number, seperated by a comma ",".

I am wanting to test the condition - either one 7 digit number or more than
one 7 digit number seperated by the comma.

Any help would be much appreciated..
 
D

Dave Peterson

You can use InStr to look for a comma.

You can use Split (xl2k or newer) to parse the string into an array.
 

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