+ Reply to Thread
Results 1 to 4 of 4

Copy columns from different sheets, into one

  1. #1
    Forum Contributor
    Join Date
    10-06-2017
    Location
    Europe
    MS-Off Ver
    2013
    Posts
    123

    Copy columns from different sheets, into one

    Hello all,

    I have a simple problem and it seems i just can't make it work:

    - i have one workbook with 3 sheets. in sheet 2 and 3, on column A i have a list of names, starting from A11 on both sheets.
    - i need a VBA to copy column A (starting A11) from Sheet2 to sheet 4 (starting from A2) and column A (starting A11) from sheet3 to sheet 4 column A, starting from the point where the dates copied from sheet2, ends.

    The VBA that i made can copy the first part correctly, but only copies the first row from sheet3.
    I have attached an example

    Please Login or Register  to view this content.



    Thank you
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,754

    Re: Copy columns from different sheets, into one

    An alternative solution to VBA is Power Query. You can easily append sheets in this powerful Excel Addin. Attached is your file and the results appended in Sheet 5. To understand this better, look at the links in my signature.

    1. I loaded each sheet to PQ and then closed and loaded them to a connection only
    2. I then appended sheet 2 to sheet1 and closed and loaded them to sheet 5

    Quick and simple to do.
    Attached Files Attached Files
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,699

    Re: Copy columns from different sheets, into one

    This would be one way.
    Please Login or Register  to view this content.
    and this would be another way.
    Please Login or Register  to view this content.
    Last edited by jolivanes; 08-04-2019 at 06:56 PM.

  4. #4
    Forum Contributor
    Join Date
    10-06-2017
    Location
    Europe
    MS-Off Ver
    2013
    Posts
    123

    Re: Copy columns from different sheets, into one

    Thank you both for your answers.
    Both your solution are working just fine.
    Thanx

+ 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. [SOLVED] Compare Two Columns In Two Different Sheets Then Copy Paste
    By Abdur_rahman in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-03-2018, 12:03 AM
  2. Copy several columns width to another 2 sheets
    By ruliansyah in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-07-2013, 02:22 AM
  3. Macro to copy 3 columns of data from multiple sheets into 3 columns on 1 sheet
    By bballdcm2007 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-15-2012, 04:37 PM
  4. [SOLVED] Copy the same two columns from 5 sheets into one sheet?
    By jvk76 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-30-2012, 01:59 AM
  5. Replies: 5
    Last Post: 07-11-2012, 07:58 AM
  6. Macro to copy columns into new sheets
    By JESSIER4025 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-07-2012, 11:40 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