PC Review


Reply
Thread Tools Rate Thread

comma delimited & surrounded by quotes

 
 
=?Utf-8?B?Ums=?=
Guest
Posts: n/a
 
      6th Sep 2007
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 With Quote
 
 
 
 
JE McGimpsey
Guest
Posts: n/a
 
      6th Sep 2007
One way:

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

In article <BFAF03D6-5775-4E0D-A353-(E-Mail Removed)>,
Rk <(E-Mail Removed)> 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

 
Reply With Quote
 
=?Utf-8?B?RHVrZSBDYXJleQ==?=
Guest
Posts: n/a
 
      6th Sep 2007
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

 
Reply With Quote
 
Earl Kiosterud
Guest
Posts: n/a
 
      6th Sep 2007
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" <(E-Mail Removed)> wrote in message
news:BFAF03D6-5775-4E0D-A353-(E-Mail Removed)...
> 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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Serial comma delimited text - Import to XL evry 8th comma nuRow Billp Microsoft Excel Programming 30 23rd Jun 2009 11:51 PM
Cell content surrounded by quotes when saving as tab delimited for Jerry Microsoft Excel New Users 2 4th Mar 2008 10:40 PM
Using comma inside the comma delimited text in Data Validation/Sou LasseH Microsoft Excel Programming 5 14th Dec 2007 04:09 AM
delimited, but Non-Comma Delimited file, for input. Ross.prillaman@HCAhealthcare.com Microsoft Access External Data 1 15th Aug 2005 05:55 PM
difference between comma delimited and tabbed delimited? Jones Microsoft Outlook Discussion 3 1st Jun 2005 08:23 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:41 PM.