+ Reply to Thread
Results 1 to 4 of 4

Concatenate rows into single cell, but remove last comma from row

  1. #1
    Registered User
    Join Date
    02-28-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    49

    Concatenate rows into single cell, but remove last comma from row

    VBA_Concatenate Rows.xlsm

    Hi I have a spread sheet that with the aid of a button concatenates the first columns (A:C) into column D using the following formula:

    Please Login or Register  to view this content.
    The final step I need the macro to do is to remove the last comma (,) from the last cell in column D.

    The length of data can vary from day to do. so its not always the same cell.
    If anyone can help, cheers.

    Dave

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Concatenate rows into single cell, but remove last comma from row

    Maybe:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    02-28-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    49

    Re: Concatenate rows into single cell, but remove last comma from row

    Perfect, thanks!

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Concatenate rows into single cell, but remove last comma from row

    You're welcome. Glad to help out and thanks for the feedback.

+ 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