+ Reply to Thread
Results 1 to 2 of 2

CSV exporting problem (quotes)

  1. #1
    Registered User
    Join Date
    05-03-2010
    Location
    Waterloo, ON
    MS-Off Ver
    Excel 2007
    Posts
    1

    Post CSV exporting problem (quotes)

    Hi everyone! I'm currently having some problems trying to export my excel file to a csv. Here's my problem:

    I would like my file output to look something like this:
    "1","2","some text without commas","some text, with, commas","B"
    etc.

    The problem I have is that I can't get Excel 2007 to write the quotes around EVERY field. It is currently just writing the quotes around those fields with a comma in it. Is there a way around this?

    I really appreciate any help you can provide me with! THANKS A MILLION!

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: CSV exporting problem (quotes)

    one way
    copy paste special unformatted text the whole thing into word
    find ^t replace with "," (including quotes)
    then find ^p replace with "," (including quotes)
    tidy up the begining (just add ") and delete any odd "," at end
    save as text
    before
    123 some text comma,text b
    124 some text comma,text c
    125 some text comma,text d
    after
    “123”, “some text”, “comma,text”, “b”, “124”, “some text”, “comma,text”, “c”, “125”, “some text”, “comma,text”, “d”
    Last edited by martindwilson; 05-03-2010 at 07:37 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1