E
Ed
My csv database contains lines of data that look like this
"Anderson, David",23987,ANDERSON,7,Individual,1/2/2003,"Anderson,
Mary",23347
"Jones, Robert",23988,JONES,13,Joint,4/23/2006,"Jones, Angela",23988
etc.
I need to break each line up into separate pieces, and would ordinarily read
each line into a variable (let's say called "client") and use the vba
command ''split" to create an array called nextclient, thusly:
nextclient=split(client, ",")
However, as you can see, the some of the elements are QUOTE COMMA separated,
and that messes everything up when the split on just on a comma.
Is there a way that can I get this data properly 'split up'? (I do want the
text within quotes to stay together, with the comma.)
Tx.
Ed (in Virginia)
"Anderson, David",23987,ANDERSON,7,Individual,1/2/2003,"Anderson,
Mary",23347
"Jones, Robert",23988,JONES,13,Joint,4/23/2006,"Jones, Angela",23988
etc.
I need to break each line up into separate pieces, and would ordinarily read
each line into a variable (let's say called "client") and use the vba
command ''split" to create an array called nextclient, thusly:
nextclient=split(client, ",")
However, as you can see, the some of the elements are QUOTE COMMA separated,
and that messes everything up when the split on just on a comma.
Is there a way that can I get this data properly 'split up'? (I do want the
text within quotes to stay together, with the comma.)
Tx.
Ed (in Virginia)