+ Reply to Thread
Results 1 to 5 of 5

Saving selection with values separated by ; as CSV file in one column

  1. #1
    Registered User
    Join Date
    04-04-2014
    Location
    Warsaw
    MS-Off Ver
    Excel 2010
    Posts
    97

    Saving selection with values separated by ; as CSV file in one column

    Hello,
    I've got following problem. I'm trying to save selection from one workbook to new workbook and save it in csv format, I'am using this formula:

    Please Login or Register  to view this content.
    I'm trying to copy cell containing lets say:
    Please Login or Register  to view this content.
    but this function spreads it to separate columns and deletes ";", how can I avoid it? And have it in one cell?

    Thanks in advance for help!
    Last edited by drrazor; 05-21-2014 at 08:53 AM.

  2. #2
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,177

    Re: Saving selection with values separated by ; as CSV file in one column

    1. If the cell has that text (above) with SEMIs in it then you cannot save to CSV with semis as separators too.
    2. If you are not using semis as separators, then you cannot open the file in excel because it will (by default ) recognize them as separators anyway.
    3. You could try using " as string containers.

  3. #3
    Registered User
    Join Date
    04-04-2014
    Location
    Warsaw
    MS-Off Ver
    Excel 2010
    Posts
    97

    Re: Saving selection with values separated by ; as CSV file in one column

    I deleted for a moment .Close (False) and saw that conversion is done during saving file, it copies normally.

  4. #4
    Registered User
    Join Date
    04-04-2014
    Location
    Warsaw
    MS-Off Ver
    Excel 2010
    Posts
    97

    Re: Saving selection with values separated by ; as CSV file in one column

    The thing is ranman256 that I can save file manually with semis as separators, but when using macro it separates them automatically.

  5. #5
    Registered User
    Join Date
    04-04-2014
    Location
    Warsaw
    MS-Off Ver
    Excel 2010
    Posts
    97

    Re: Saving selection with values separated by ; as CSV file in one column

    bump, its very important

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Exporting to Text file - values separated by lines
    By happypyro in forum Excel General
    Replies: 13
    Last Post: 12-17-2013, 01:54 PM
  2. Excel 2007 : One column to txt comma separated values
    By Runnit4 in forum Excel General
    Replies: 1
    Last Post: 02-15-2011, 05:44 PM
  3. [SOLVED] How do I convert an excel file into a comma separated values file
    By Conquerer in forum Excel General
    Replies: 3
    Last Post: 08-17-2006, 04:25 PM
  4. How to I create a comma separated values file
    By Ruby in forum Excel General
    Replies: 3
    Last Post: 07-30-2006, 02:02 AM
  5. [SOLVED] how could I import a text file with comma separated values into ex
    By Xavi in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-15-2005, 07:05 AM

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