Get Standard CSV File

S

shapper

Hello,

I am trying to save some data from Excel to a CSV file to import into
an application I am working on.
The problem is that I get a file with Mime:

application/vnd.ms-excel

Instead of:
text/csv

How can I create a standard text/csv file?

Thank You,
Miguel
 
H

Helmut Meukel

shapper said:
Hello,

I am trying to save some data from Excel to a CSV file to import into
an application I am working on.

Do you mean, you are programming this app?
Or is it an existing app and you are just working with this app?
If it's the first case, then which programming language are you using?
You could probably use DAO to read the excel file directly or
automate Excel to get the data from the excel file without first
exporting to a CSV file.
The problem is that I get a file with Mime:

application/vnd.ms-excel

Instead of:
text/csv

How can I create a standard text/csv file?

Thank You,
Miguel

How do you save the file?
Manually, selecting File, Save as ... from the menu
or by code? If the latter, provide your code, so we can look at it.

BTW, you _do_ know that the CSV standard isn't a standard
at all?
Depending on the localized version of Excel you are using, the
default format Excel is using by creating a CSV file or expecting
when reading a CSV file may be comma separated (in the US,
UK, ...) or semicolon separated (in Germany, France, ...)

Helmut.
 
T

Tim Williams

Is the mime type a problem ? It should still open fine in your other
application.

Tim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top