+ Reply to Thread
Results 1 to 5 of 5

Compilation of Multiple Cols into 2 Cols in new sheet

  1. #1
    Forum Contributor
    Join Date
    06-25-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016
    Posts
    615

    Compilation of Multiple Cols into 2 Cols in new sheet

    Hi folks

    In the attached Workbook the Cols in Sheet 1 have data drawn from csv files.

    The Cols are matching pairs ie Cols A and B and the data in the same numbered Cells must stay together. Likewise for Cols C and D etc etc.

    What I need to be able to do if possible is combine all the info from sheet 1 into just 2 Cols in Sheet 2 automatically.

    Thanks
    Hammer
    Attached Files Attached Files

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Compilation of Multiple Cols into 2 Cols in new sheet

    Do you want it to be pasted as values?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Forum Contributor
    Join Date
    06-25-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016
    Posts
    615

    Re: Compilation of Multiple Cols into 2 Cols in new sheet

    Values would be fine thanks.

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Compilation of Multiple Cols into 2 Cols in new sheet

    Try this code
    Please Login or Register  to view this content.
    Copy the Excel VBA code
    Select the workbook in which you want to store the Excel VBA code
    Hold the Alt key, and press the F11 key, to open the Visual Basic Editor
    Choose Insert | Module
    Where the cursor is flashing, choose Edit | Paste

    To run the Excel VBA code:
    Choose View | Macros
    Select a macro in the list, and click the Run button

  5. #5
    Forum Contributor
    Join Date
    06-25-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016
    Posts
    615

    Re: Compilation of Multiple Cols into 2 Cols in new sheet

    Now that is just fantastic arlu1201
    Thank you so very much for your time.

+ 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