+ Reply to Thread
Results 1 to 4 of 4

One column to multiple columns

  1. #1
    Registered User
    Join Date
    03-06-2006
    Location
    Clayton, NC
    MS-Off Ver
    MS Office 2010
    Posts
    61

    Question One column to multiple columns

    Hi, I am trying to copy a column of cells from one sheet of my workbook to another sheet within the same workbook and turn them into mutiple columns.

    Example:
    Original text:

    Bob
    Mike
    Erica
    Karen
    Kimberly

    New Text:

    Bob Mike Erica Karen Kimberly

    Also, the amount of cells in the original sheet can vary. Is there a way of doing this with code?

    Thanks!

  2. #2
    Valued Forum Contributor Steffen Thomsen's Avatar
    Join Date
    10-15-2010
    Location
    Kolding, Denmark
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    953

    Re: One column to multiple columns

    Hi,

    Try this

    Please Login or Register  to view this content.
    Please take time to read the forum rules

  3. #3
    Registered User
    Join Date
    03-06-2006
    Location
    Clayton, NC
    MS-Off Ver
    MS Office 2010
    Posts
    61

    Re: One column to multiple columns

    Thanks again!

    I'll give it a shot.

  4. #4
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: One column to multiple columns

    hi, RevJeff, though it can be easily done by hands using Paste Special please check the code:

    Please Login or Register  to view this content.
    The data is supposed to start from A1 and down.

+ 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