+ Reply to Thread
Results 1 to 3 of 3

Quotation marks appearing when using CHR() as an argument with concatenation

  1. #1
    Registered User
    Join Date
    09-11-2013
    Location
    Montreal, Qc, Canada
    MS-Off Ver
    Excel 2013
    Posts
    41

    Question Quotation marks appearing when using CHR() as an argument with concatenation

    Hi again!

    When concatenating text content in cells, and then pasting the content of the resulting cell in a txt file without any format, the resulting line is as expected

    Example:

    A1=AAA
    B1=BBB
    C1=CCC

    =Concatenate(A1;B1;C1) results in AAABBBCCC and pastes as AAABBBCCC.

    However, when using CHR(10) or CHR(13) in the function to include a line break:

    =Concatenate(A1;B1;CHR(10);C1) results in
    AAABBB
    CCC

    but pastes as
    "AAABBB
    CCC"

    WITH the quotation marks.

    Any clues as to how to keep the expression as is? The marks don't appear anywhere in Excel...

    Thanks

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

    Re: Quotation marks appearing when using CHR() as an argument with concatenation

    It has to do this to understand it is a text with a break in it.
    (xl is kinda stupid)

  3. #3
    Registered User
    Join Date
    09-11-2013
    Location
    Montreal, Qc, Canada
    MS-Off Ver
    Excel 2013
    Posts
    41

    Re: Quotation marks appearing when using CHR() as an argument with concatenation

    Ok, this might not be the best solution to this problem, but I found a way:

    1. Special-copy the selected cells in Word with the RTF option
    2. Select the new table
    3. Use the "convert table to text" function.

    It does give the desired end result, getting rid of all quotation marks.

    So I am writing this in case someone tries to do the same! (Slim chance, but you never know!)

+ 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. Quotation Marks Getting in the Way
    By Vladamir in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-12-2012, 06:50 PM
  2. Quotation Marks?
    By LinearChaos in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-25-2006, 05:37 PM
  3. Quotation Marks - When and What??
    By heski in forum Excel General
    Replies: 2
    Last Post: 02-07-2006, 08:45 AM
  4. quotation marks
    By JohnF in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-05-2006, 05:35 PM
  5. [SOLVED] Quotation Marks
    By kosecki in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-31-2005, 10: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