Hi vancetech,
The following text was created with NotePad and saved in text format as Book1.csv
"""Data with, comma""",Data without comma,"Data with """"quote"""""
"Data with, comma",Data without comma,"Data with """"quote"""""
"Data with, comma",Data without comma,"Data with ""quote"""
After opening in Excel, it appeared in A1:C3 as:
"Data with, comma" Data without comma Data with ""quote""
Data with, comma Data without comma Data with ""quote""
Data with, comma Data without comma Data with "quote"
If you look at the third line in the NotePad file, you will notice that surrounding the text with double quotes is sufficient to convince Excel to retain the comma within the cell's content. You will also see that text containing double quotes must be surrounded in double quotes, and that each double quote must be doubled.
For a more complete description of the CSV file format, see http://www.wotsit.org/sear
Brad
Main Topics
Browse All Topics





by: NicksonKohPosted on 2005-06-27 at 18:54:08ID: 14314681
If your data does not contain double quotes, you can try placing double quotes on each value.
E.g. "apple", "oran,ge", "apple"
Nickson