Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using Excel on Mac and it's always painful to have to reopen all exported CSVs in another text editor just to change the line endings from "CR" to "LF" and the delimiter from ";" to ","

Is there a way to set the preferred CSV save format permanently?

share|improve this question

3 Answers 3

I discovered a couple of valuable bits of info on this. Firstly, NeoOffice gives you full control over the delimiter character on csv export. You can open any excel file in NeoOffice, which is a FREE office suite. Secondly, I found that Excel for Mac does some bad things to csv files sometimes. Today I spent 4 hours trying to find out why a csv import was failing. I traced it down to Excel, it does something that I cannot see in the files, I cannot see any difference in two files when opened in a plain text editor (TextWrangler) yet the one coming from Excel fails on import and the one coming from NeoOffice works.

share|improve this answer
    
If your answer to the question is to recommend NeoOffice, please read meta.superuser.com/questions/5329/… for information on how to recommend software. –  Jason Aller Jul 3 at 18:08
    
Please exercise caution when recommending software. As written, your answer may be seen as spam. Your answer should include a description of the software and how it addresses the question. More information: How do I recommend software in my answers? –  DragonLord Jul 3 at 18:10

I found that solution for Windows version of Excel:

  • Click the Windows Start menu.
  • Click Control Panel.
  • Open the Regional and Language Options dialog box.
  • Click the Regional Options Tab.
  • Click Customize.
  • Type a new separator in the List separator box.
  • Click OK twice.

I didn't find anything for Excel for Mac.

share|improve this answer
2  
Not particularly helpful if it's not for the Mac version. –  slhck Jul 18 '12 at 14:51

I'm not sure how to change the line endings, but the delimiter is a semicolon due to regional settings.

But I hesitate to recommend changing your regional settings.

A better recommendation would be to not use Excel. Excel is a spreadsheet program, not a database.

share|improve this answer
    
There are many legitimate reasons for exporting CSV from Excel that are nothing to do with databases. Other than that I think you are spot on. –  Lunatik Dec 21 '11 at 16:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.