Export "Pipe" de-limited text file from Excel???

Agamar

Golden Member
Oct 9, 1999
1,334
0
0
That would probably be best...Just use a search / replace to replace all the commas with |
 

Electric Amish

Elite Member
Oct 11, 1999
23,578
1
0
Yeah, that was our first thought, but unfortunately some of the data will have commas included in it (currency).
 

DaveSimmons

Elite Member
Aug 12, 2001
40,730
670
126
also for text fields excel exports " as "" (doubles the double-qoutes) if that field is in quotes.

so a field: I said "Hi, bye"
mght be exported as ...,"I said ""Hi, bye""", ...

A comma-delim to tab-delim filter isn't hard to write though in c/c++, VB, etc., or there are probably conversion programs out there too.
 

TSDible

Golden Member
Nov 4, 1999
1,697
0
76
I don't have the solution with me, but I will see what I can come up with...
 

Yomicron

Golden Member
Mar 5, 2002
1,735
1
81
Originally posted by: Electric Amish
Yeah, that was our first thought, but unfortunately some of the data will have commas included in it (currency).
Have you tried saving as a tab delimited file and then find/replace the tabs with '|'?
 

TSDible

Golden Member
Nov 4, 1999
1,697
0
76
Yomicron's solution does indeed work.

I'm looking for a smoother solution directly from excel. I will let you know if I find anything.
 

Mday

Lifer
Oct 14, 1999
18,647
1
81
Originally posted by: Electric Amish
Anyone know how or if this can be done??

TIA

amish

if it's plain txt, you can open excel, then use the file-open menu to open the file, you should be given some sort of wizard as to what to do.

if you just have it opened in exel, tools-text to column, and it's self explanatory from there (wizard)

if you do want to replace the | with some txt to do column separation, DONT USE QUOTES. use something simple like TAB or even a fixe set of *** or ZZZ (something that is not part of the document). but i recommend my first 2 options (one of them), both will work.