Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Rk Rk is offline
external usenet poster
 
Posts: 18
Default comma delimited & surrounded by quotes

hi , does anyone know how to out put data from a excel spread sheet so it is
in the following format

in spreadsheet 1 2 3 4 5

output

"1","2","3","4","5"

tried .csv but that is just 1,2,3,4,5


--
thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default comma delimited & surrounded by quotes

One way:

http://www.mcgimpsey.com/excel/textf...#csvwithquotes

In article ,
Rk wrote:

hi , does anyone know how to out put data from a excel spread sheet so it is
in the following format

in spreadsheet 1 2 3 4 5

output

"1","2","3","4","5"

tried .csv but that is just 1,2,3,4,5

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,081
Default comma delimited & surrounded by quotes

Unfortunately, to get quotes you need to actually embed them in the file,
save it as a text file, and then rename it to a csv.

If your example numbers are in row 1, in columns A-E, then in F1 use the
formula:

=""""&A1&""","&""""&B1&""","&""""&C1&""","&""""&D1 &""","&""""&E1&""""

copy it down as far as you need, then select all the formulas, press Ctrl-C
to copy them, then Edit-Paste Special-Values to replace the formulas with
the results. Then delete columns A-E and save the file as text

"Rk" wrote:

hi , does anyone know how to out put data from a excel spread sheet so it is
in the following format

in spreadsheet 1 2 3 4 5

output

"1","2","3","4","5"

tried .csv but that is just 1,2,3,4,5


--
thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 611
Default comma delimited & surrounded by quotes

Rk,

The Text Write Program at http://www.smokeylake.com/excel/text_write_program.htm will do
that for you interactively (no code required, though you could copy the code into your own
macro if you wanted to. Set"Bracket all fields" to yes.
--
Regards from Virginia Beach,

Earl Kiosterud
www.smokeylake.com

Note: Top-posting has been the norm here.
Some folks prefer bottom-posting.
But if you bottom-post to a reply that's
already top-posted, the thread gets messy.
When in Rome...
-----------------------------------------------------------------------
"Rk" wrote in message
...
hi , does anyone know how to out put data from a excel spread sheet so it is
in the following format

in spreadsheet 1 2 3 4 5

output

"1","2","3","4","5"

tried .csv but that is just 1,2,3,4,5


--
thanks



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Comma Delimited Numbers Spannerman Excel Discussion (Misc queries) 3 April 3rd 07 08:19 AM
Output space-delimited file with quotes around text? Sinc Excel Discussion (Misc queries) 1 December 5th 06 11:02 PM
Creating CSV Comma Delimited File Connie Excel Discussion (Misc queries) 1 October 19th 06 04:27 PM
Need quotes around exported tab delimited text Carol Grismore Excel Discussion (Misc queries) 0 May 17th 06 06:19 PM
Comma delimited question Carol Excel Discussion (Misc queries) 2 January 15th 05 11:32 AM


All times are GMT +1. The time now is 04:11 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"