Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Pulling data from 1 sheet to another | Excel Worksheet Functions | |||
inserting data from a row to a cell, when the row number is specified by a formula in a cell | New Users to Excel | |||
Automatic cell increment with data from sheet 1 to sheet 2 | Excel Worksheet Functions | |||
Cell contents vs. Formula contents | Excel Discussion (Misc queries) | |||
Display actual contents of cell | Excel Discussion (Misc queries) |