+ Reply to Thread
Results 1 to 5 of 5

Carriage Return with a long string in Range() have ","

  1. #1
    Registered User
    Join Date
    03-04-2013
    Location
    Viet Nam
    MS-Off Ver
    Excel 2007
    Posts
    5

    Carriage Return with a long string in Range() have ","

    Hi everybody,
    I want to carriage return in Range with a long string when meet ","

    String : MOTU 0672355 / MOL V254308 / 40HC,TCNU 7836894 / MOL V254270 / 40HC

    I use code but not sure:
    Please Login or Register  to view this content.
    Help me,
    Many thanks.

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Carriage Return with a long string in Range() have ","

    But chr10 is Linefeed character, not comma

  3. #3
    Registered User
    Join Date
    03-18-2013
    Location
    Stryków, Poland
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    21

    Re: Carriage Return with a long string in Range() have ","

    I don't know what do you mean by "carriage return", but maybe such UDF will be ok?
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    08-09-2012
    Location
    Kolkata
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Carriage Return with a long string in Range() have ","

    An Excel Function should work for you

    =SUBSTITUTE(<<Cell Reference>>,",",char(10))

    Let me know if this works

  5. #5
    Registered User
    Join Date
    03-04-2013
    Location
    Viet Nam
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Carriage Return with a long string in Range() have ","

    Thanks everybody very much ..........

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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