Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Saving Excel with Pipe Separator - Not Changing Windows List Separator

Posted on 2014-04-29
7
Medium Priority
?
731 Views
Last Modified: 2014-10-28
I need to import a file into Excel that is a pipe delimited file.  I can open the file but when I go to save it, it must be a csv file which saves with commas, not pipes.  It would not be a useful process to change the List Separator from comma to pipes within the advanced settings of the control panel in Windows.  Is there a way to save from within Excel so we can change the comma to pipe?
0
Comment
Question by:CynSzcz
7 Comments
 
LVL 1

Expert Comment

by:Matthew Ozog
ID: 40030945
CSV stands for Comma Seperated Values.  Try saving with a txt extension.
0
 
LVL 71

Expert Comment

by:Qlemo
ID: 40031005
As it seems, the only way is either to
*  (programmatically) change the regional settings, save to CSV, and reset the regional settings
* use VBA file I/O to generate a text file
* use PowerShell (or other Automation capable languages)
0
 
LVL 34

Expert Comment

by:Rob Henson
ID: 40031819
When you open the pipe delimited file in excel I would expect the pipes to disappear as Excel will recognise them as a delimiter and create a new column instead. Is this the case here?

If so, then just saving as a CSV format will create a comma separated file. Does your file contain commas that you will need to keep, eg  a filed such as "Last Name, First Name"?

Thanks
Rob H
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 34

Expert Comment

by:Rob Henson
ID: 40031823
Thinking about it, pipe isn't one of the standard delimiters but when doing doing the text import you can force it to recognise the the pipe by selecting the "Other" option and typing a pipe in the entry box against the "Other" option.

Thanks
Rob
0
 

Author Comment

by:CynSzcz
ID: 40032043
I am bringing a file into Excel that originally contains the pipe deliminator.  It is an electronic invoice that must be uploaded to a billing audit house and has to be in a LEDES98 format.  My problem is I need to revise the file after I create it but before I upload it to the website.  After I revise it, I need to save it and NOT lose the pipes. It can be saved as a txt file but I was wondering if there was a way to "save with the pipes" without changing the List Separator in Windows from the comma to the pipe each time (and then having to remember to go back and change it back).
0
 
LVL 71

Expert Comment

by:Qlemo
ID: 40032285
I wonder if you considered to read http:#a40031005 ?
There are a lot of options, but all require programming if you don't want to go thru the manual process.
0
 
LVL 27

Accepted Solution

by:
Glenn Ray earned 2000 total points
ID: 40060257
I encountered this same problem last year and our solution was quite simple:

Save the Excel data in CSV format.
Open the file using a text editor (Notepad will work).
Search and replace commas with pipes.
Save the file.

The small amount of time spent doing that is far less than any time invested in creating an automated solution to write out the data file.

Regards,
Glenn
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question