+ Reply to Thread
Results 1 to 5 of 5

Update/Merge data from different workbooks with the same table

  1. #1
    Registered User
    Join Date
    02-18-2019
    Location
    Kyiv, Ukraine
    MS-Off Ver
    MS Office 2016
    Posts
    4

    Update/Merge data from different workbooks with the same table

    Hello, guys,

    I've got one table to fill with 30 people. So, I send this table separately, they fill their parts of the table (data in several columns, other data/columns are the same) and send back.
    So, in the end, I have 30 files with one table with partly filled columns. In the perfect world, all these 30 parts would have made 1 full table, but it is not.
    The mechanism the same with Google sheets, these 30 people would fill the same online table. But I can't do it due to security.
    All in all, I need to merge 30 same tables with partly filled several columns that are located in the same workbook. And need to see who did not send me the info (the cells will be empty).

    Crying for help! Wasting for this a lot of my time! All ideas appreciated.
    Attached Files Attached Files
    Last edited by OKot; 02-20-2019 at 08:19 AM.

  2. #2
    Forum Contributor banaanas's Avatar
    Join Date
    08-26-2014
    Location
    Finland
    MS-Off Ver
    2016
    Posts
    199

    Re: Update/Merge data from different workbooks with the same table

    Please attach a zip file with 3-4 workbooks. You can replace the actual data with dummy data; it doesn't matter. Without that, it will be very though to help.
    Tuomas "Banaanas" Savonius
    Trying to give back now when I actually can do some VBA

  3. #3
    Registered User
    Join Date
    02-18-2019
    Location
    Kyiv, Ukraine
    MS-Off Ver
    MS Office 2016
    Posts
    4

    Re: Update/Merge data from different workbooks with the same table

    I've attached files.

  4. #4
    Forum Contributor banaanas's Avatar
    Join Date
    08-26-2014
    Location
    Finland
    MS-Off Ver
    2016
    Posts
    199

    Re: Update/Merge data from different workbooks with the same table

    This is a quick and dirty way of doing this. I loop all cells in all workbooks and if they are not empty then they will be pasted on the collection workbook.
    I am 100% sure that there are a lot more efficient ways of doing this, but I just don't have the time to dig deeper right now

    Download attachment or use this code in a workbook:

    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor Haluk's Avatar
    Join Date
    02-14-2019
    Location
    Turkiye
    MS-Off Ver
    2010 - 64 Bit on Windows-11 (22 H2) 64 Bit
    Posts
    1,150

    Re: Update/Merge data from different workbooks with the same table

    An alternative is using ADO/DAO to retrieve the datas from the related files without openning them.

    The below code can be placed in a new workbook and saved as "xlsm" file in the folder which houses the data files.

    Please Login or Register  to view this content.
    Last edited by Haluk; 02-25-2019 at 02:59 AM.

+ 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. VBA to create/update pivot table from other workbooks
    By KOstey80 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-15-2017, 11:17 AM
  2. Replies: 12
    Last Post: 06-06-2016, 11:57 AM
  3. Merge multiple workbooks to a summary sheet with data in table form.
    By angminer in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-04-2015, 02:57 PM
  4. Merge Data from Different workbooks
    By Amarjeet Singh in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-06-2015, 11:17 AM
  5. Merge table columns and data from various excel workbooks into another
    By borat in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-12-2007, 11:27 AM
  6. [SOLVED] how do i get my mail merge to update the data source at each merge
    By Steel_Monkey in forum Excel General
    Replies: 0
    Last Post: 11-30-2005, 04:45 AM
  7. How do you merge data from different workbooks into one?
    By No_expert in forum Excel General
    Replies: 0
    Last Post: 02-12-2005, 02:21 PM

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