Link to home
Start Free TrialLog in
Avatar of CynSzcz
CynSzczFlag for United States of America

asked on

Saving Excel with Pipe Separator - Not Changing Windows List Separator

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?
Avatar of Matthew Ozog
Matthew Ozog

CSV stands for Comma Seperated Values.  Try saving with a txt extension.
Avatar of Qlemo
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)
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
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
Avatar of CynSzcz

ASKER

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).
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.
ASKER CERTIFIED SOLUTION
Avatar of Glenn Ray
Glenn Ray
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial