View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Helmut Meukel Helmut Meukel is offline
external usenet poster
 
Posts: 49
Default Get Standard CSV File

"shapper" schrieb im Newsbeitrag
...
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.