For work, need to save a csv file to be sent to customer. They upload into their system for invoicing.
For some reason, the csv I'm sending, they say is in the wrong format and fails when uploading into their system. After looking at the data, when you open the file with notepad, the text fields are not surrounded by double quotes. They say they should be in order for it to import into their system.
It's odd. New csv files I create, when I open in notepad, the fields are separated by commas, but no quotes. They sent me an example of a csv file that works. When I open that file it has the text fields in Double quotes. But number fields without quotes.
So my csv file when opened in notepad:
Their csv file when opened in notepad (from my same computer):
Is there something I'm doing wrong here? I tried changing the formatting of the cells, no luck. I tried to insert the quotes directly into the excel document when saving it as csv, and the result is everything shows with triple quotes:
Currently using Excel 2013 if that matters.
For some reason, the csv I'm sending, they say is in the wrong format and fails when uploading into their system. After looking at the data, when you open the file with notepad, the text fields are not surrounded by double quotes. They say they should be in order for it to import into their system.
It's odd. New csv files I create, when I open in notepad, the fields are separated by commas, but no quotes. They sent me an example of a csv file that works. When I open that file it has the text fields in Double quotes. But number fields without quotes.
So my csv file when opened in notepad:
Code:
Company Name,Buyer Name,03/27/19,100.00,IL
Their csv file when opened in notepad (from my same computer):
Code:
"Company Name","Buyer Name","03/27/19",100.00,"IL"
Is there something I'm doing wrong here? I tried changing the formatting of the cells, no luck. I tried to insert the quotes directly into the excel document when saving it as csv, and the result is everything shows with triple quotes:
Code:
"""Company Name""","""Buyer Name""","""03/27/19""",100.00,"""IL"""
Currently using Excel 2013 if that matters.