View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
sfleck sfleck is offline
external usenet poster
 
Posts: 17
Default Parsing / seperating text string in excel cell

Thank you

I need to keep it in the same format as it needs to be entered into the
field with those seperators

What I am looking for I guess is to seperate out by 200 characters ensuring
that the 200th character was not going to cut a record in half

The example below has 301 characters so if I copied the the cell would lose
the extra characters

I am looking to keep them in the same format but make sure that where i
seperate is at a semi colon


"pinmaster" wrote:

Hi,

Not sure if this will help but have a look at "text to columns" under the
Data menu.

Regards!
Jean-Guy

"sfleck" wrote:

Below is an example of a strring of data that i receive. Many times the data
string is over 255 characters in length. ( bigger that the capacity of the
location that i am copying it to.

Is there a way to programatically parse out those strings longer than
allowed in my field

I need to do that to a text string that is both comma deliminated ( item &
quatity) and semicolon deliminated (Record)

262662,1;287740,1;266043,1;265832,1;283351,1;29886 4,1;292744,1;301754,1;302201,1;283346,1;296536,1;2 92910,1;274865,1;293748,1;77029,1;47952,1;295392,1 ;292327,1;273352,1;276065,1;256396,1;269669,1;2696 71,1;82205,1;301349,1;269668,1;260051,1;81462,1;26 9670,1;302623,1;281220,1;297459,1;257806,1;271241, 1

The item is not always the sam# of characters and the quantiy either

Is there a way to take all text including Say (10) semicolons