Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CVS data from one cell into several

Status
Not open for further replies.

JeanW

Programmer
Jan 7, 2002
800
MX
Hi all,

I have an Excel file with comma separated data in cel Ax, going down to 900+ rows.

To have it easy to import the data into another program, I need each cvs part into separated cells.
Parts can vary from 4 to 7 between commas.

Ex.
A1 has data xxx,yyyyy,zzzzz
I need xxx in cel K1
yyyyy in cell L1
zzzzz in cell M1
etc

and that for all the rows.

Any idea for a general macro to do that, because I need to do that somewhat every 2 weeks on given Excel files.

TIA
 



hi

check out Data > Text to columns >> Delimited > COMMA

when you figure it out, turn on your macor recorder.

If you need help customizing your recorded code, post in forum707.

Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 

Thanks. Works like a charm.

Didn't even know that function exist.

But then, I nearly never use Excel, only when forced to....

Tx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top