Solved

Saving Excel with Pipe Separator - Not Changing Windows List Separator

Posted on 2014-04-29
7
633 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 70

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 33

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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 33

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 70

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 500 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

630 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