If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
convert cell contents to different data file format
How do I change my comma delimited file format to ASCII with each cell's text
content bracketed in single quotes? eg: apple,banana,strawberry - 'apple','banana','strawberry' |
#2
|
|||
|
|||
"adam" wrote in message ... How do I change my comma delimited file format to ASCII with each cell's text content bracketed in single quotes? eg: apple,banana,strawberry - 'apple','banana','strawberry' I assume the data comes from Excel. The easiest way is to make sure the data appears as you want when you create the file. Assuming that apple is in Sheet1, cell A1, enter ="'"&Sheet1!A1&"'" in some other worksheet and so on, Then save as csv. Another option, if you have something better than notepad, you should be able to do this in two steps 1) Replace , with ',' 2) replace newline with 'newline' Maybe this editor can find newline characters http://www.textpad.com/ /Fredrik |
#3
|
|||
|
|||
Take a look at Earl Kiosterud's Text Write program:
www.smokeylake.com/excel (or directly: http://www.smokeylake.com/excel/text_write_program.htm) (Your file is already in excel, right?) His program has lots of options. adam wrote: How do I change my comma delimited file format to ASCII with each cell's text content bracketed in single quotes? eg: apple,banana,strawberry - 'apple','banana','strawberry' -- Dave Peterson |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
File name equal cell contents | -tinka | General Discussion | 14 | June 17th, 2008 06:46 PM |
share a database | jwb | General Discussion | 11 | April 4th, 2005 09:14 PM |
How do I copy data from a cell in one file to another? | acraig | New Users | 1 | February 15th, 2005 03:09 PM |
GET.CELL | Biff | Worksheet Functions | 2 | November 24th, 2004 07:16 PM |
You do not have exclusive access... ERROR | Robin | General Discussion | 1 | July 6th, 2004 01:18 AM |