Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Les Les is offline
external usenet poster
 
Posts: 240
Default Check if text box has more than one entry seperated by a comma

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..

--
Les
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Check if text box has more than one entry seperated by a comma

You can use InStr to look for a comma.

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

Les wrote:

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..

--
Les


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
Les Les is offline
external usenet poster
 
Posts: 240
Default Check if text box has more than one entry seperated by a comma

Thanks Dave
--
Les


"Dave Peterson" wrote:

You can use InStr to look for a comma.

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

Les wrote:

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..

--
Les


--

Dave Peterson

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing Text File with Comma Seperated Data - Need Help Pls Brando Excel Discussion (Misc queries) 1 April 17th 08 04:59 AM
Comma Seperated File Ricardo0303 Excel Worksheet Functions 2 April 10th 07 04:45 PM
How to split a value seperated by comma? Ticktockman Excel Discussion (Misc queries) 2 March 23rd 06 04:20 PM
Importing Comma Seperated Text Please Help ? Byron Excel Discussion (Misc queries) 1 August 16th 05 10:36 AM
Combine names seperated by comma bbc1 Excel Discussion (Misc queries) 3 February 13th 05 07:55 PM


All times are GMT +1. The time now is 12:30 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"