Re: Read comma-delimited [Long]

From: JerryMouse (nospam_at_bisusa.com)
Date: 11/13/04


Date: Fri, 12 Nov 2004 18:12:48 -0600

James J. Gavan wrote:
>
> Can't help wondering are we making a dog's breakfast of this ? I do
> use ACCESS but as yet not EXCEL, (although OO-wise the latter will
> give me the opportunity of simple charting - using OLE class support).
>
> I just pulled up EXCEL giving it a 'foreign' file and it prompted for
> how records were delimited.
>
> 1) Delimiter - Tab, Semi-colon, Comma, Space and Other ( you specify
> what you want)
> 2) Text qualifier (a) " or (b) ' or (c) <none>

Which may not work if the delimiter is a combination of quotes and commas,
especially if the comma is contained within a quote-delimited field.

>
> If you are the recipient of a CSV from another source, it doesn't seem
> unreasonable to me that you should be able to request the delimiting
> character you want to overcome the comma problem.
> Me - I'd go for Tilde (~) using 'Other' in # 1 ??????
>
> Jimmy, Calgary AB

Why? CSV is a "semi-standard" and any shop should be able to handle it
straightaway. Good luck on convincing a government agency to provide you
with a unique file.



Relevant Pages

  • Re: Subtotals technical question
    ... In excel, the most common delimiter is usually a comma, but could be ... For me, it's the comma. ... lists. ... Or you can specify "delimited" and be able to choose your delimiter (even type ...
    (microsoft.public.excel)
  • Re: getting data with proper encoding to the finish
    ... > so I used csv module to create CSV file and then import it in Excel. ... It quotes tabs, ... have only a comma in them. ...
    (comp.lang.python)
  • Re: Subtotals technical question
    ... So delimited lists are really only used for data import and ... Presumably when exporting from Excel each cell is then separated ... > In excel, the most common delimiter is usually a comma, but could be ... MS calls them Comma Separated Values (CSV) files. ...
    (microsoft.public.excel)
  • Re: Export to CSV file problems
    ... For years I have used the hard way to get semicolon in a csv ... because Danish VBA gives comma. ... I have MS Excel 2002 SP3 installed. ...
    (microsoft.public.excel.programming)
  • Re: CustomHow can I create pipe "|" delimited .csv ?
    ... extension but it's no longer in a .csv format - it's saved as a MS Word Text ... Excel opens it directly - bypassing the import options. ... that, however, the pipe delimiter has been discarded. ...
    (microsoft.public.mac.office.excel)