+ Reply to Thread
Results 1 to 7 of 7

Attempting to link multiple workbooks

  1. #1
    Registered User
    Join Date
    01-09-2017
    Location
    Minneapolis, MN
    MS-Off Ver
    Excel 2016
    Posts
    15

    Unhappy Attempting to link multiple workbooks

    I have some skill when it comes to excel, and use google for the rest, but I'm not winning this time.

    I've got an excel workbook for each employee (a work performance tracker). I want to link all the employees performance information together into one workbook.

    My issue is that the initial employee workbook is blank, and then each time a new employee is added, their info is filled out and the workbook is saved under their name.

    How do I link the newly saved workbooks and have the information continually upload to this combined workbook?

    Running latest excel version. 2016.

    Thanks a bunch!
    Last edited by Sophieparris; 01-09-2017 at 05:28 PM. Reason: **Grammatical error, muh bad. :)

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: Attempting to link multiple workbooks

    .
    .
    The following allows the user to select a folder of their choice containing the "other workbooks". The "other workbooks" must all have the same extension as ".xls" (this can be changed in the coding if you desire).
    None of the sheets contained in the "other workbooks" can be protected status.

    This code will copy sheets from the "other workbooks" and paste them into the Master Workbook.

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

  3. #3
    Registered User
    Join Date
    01-09-2017
    Location
    Minneapolis, MN
    MS-Off Ver
    Excel 2016
    Posts
    15

    Re: Attempting to link multiple workbooks

    Capture.PNG

    I'm attaching (hopefully) a picture of what I require.

    This is Sheet1 of the employee workbook. Every manager saves this workbook for each new employee. As time passes they fill out their performance in the white/blank cells.

    What I need to do is gather that information for ALL the employees onto in a separate workbook, and break that workbook down by category.

    My hopes (which are being dashed quickly) are that I could have a page for their attendance, for their scores, for their daily dials, etc. Capture 2.PNG

    And then, each time a new workbook is created/saved under a new employee name, that info would populate accordingly, and eventually I'd just have a big long list of all employees.

  4. #4
    Registered User
    Join Date
    01-09-2017
    Location
    Minneapolis, MN
    MS-Off Ver
    Excel 2016
    Posts
    15

    Re: Attempting to link multiple workbooks

    Ok, so I'm making another attempt at this "copy all books" macro, however, since I am BRAND new to the macros, I'm not sure where/how/what to change in the macro in order to specify my folders, workbooks specifically.

    Any chance on an explanation?

  5. #5
    Registered User
    Join Date
    01-12-2017
    Location
    Ohio, USA
    MS-Off Ver
    Office 16
    Posts
    2

    Re: Attempting to link multiple workbooks

    Sophieparris - It appears that you need to place the downloaded workbook from Logit into the folder where you have your various workbooks. When you open the downloaded workbook and run the macro by hitting the "Button" it will incorporate your workbooks into itself (meaning, that "consolidated" workbook you were requesting will be the one that has the macro). I have not run the macro, but read through the code quickly and that seems to be the gist of it.

    You don't have to indicate the workbook names like you're asking because the macro will go down the list of workbooks found in the folder where you placed it (the folder will have the downloaded workbook and the other workbooks you already have). Consider whether the workbook that has the sheets you posted pics of is in the folder as well...it will get brought in if it is.
    Last edited by GarrettBoone; 01-12-2017 at 06:35 PM.

  6. #6
    Registered User
    Join Date
    01-09-2017
    Location
    Minneapolis, MN
    MS-Off Ver
    Excel 2016
    Posts
    15

    Re: Attempting to link multiple workbooks

    Well, that makes sense. My only problem now is that it's written for a 32bit version and I'm using 64, so it fails every time. I'm doing some digging to find a fix, but I am no code writer, so if anyone has ANY SUGGESTIONS? That would be great.

    Thanks for the heads up on the folder placement.

  7. #7
    Registered User
    Join Date
    01-12-2017
    Location
    Ohio, USA
    MS-Off Ver
    Office 16
    Posts
    2

    Re: Attempting to link multiple workbooks

    https://support.office.com/en-us/art...1-E9FC8ADEEEB5

    You could use your Master workbook with the nice sheets to create a PivotTable that creates data "Connections" which can be the employee workbooks. Since they are all laid out the same, once they are connections, the PT can be set to refresh when open, and used as a consolidated data table for your nice sheets that are easy to read or ready for reports. If you are creating the employee workbooks, you can add the workbook as a connection to your master workbook at that time. If you don't create the employee workbooks, you could view the folder where they are saved before you need to run your report, and add connections for the ones that are new since you last checked. That would be the one manual step in the process.

    Once the workbooks are all connected, if they are changed by the employees, that new data will feed into your PivotTable.

    It seems that the employee sheets were created for visual impact versus table-oriented. They are nice looking, but the layout makes for difficult reading for PivotTable purposes. I don't know how many employee workbooks there are, but you could create an additional sheet on each workbook that is laid out row-table style for easy export to PivotTable which cell formulas that reference the cells on the nice pages that employees enter info into.

    When you make connections in the PivotTable setup process, you are asked to pick a workbook, and then a sheet in that workbook...that is a single "connection."

+ 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. Replies: 2
    Last Post: 03-26-2015, 07:38 PM
  2. I am trying to link multiple workbooks together
    By DENISEG in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-13-2014, 07:09 PM
  3. Link multiple workbooks to master workbook (below each other)
    By monkeywrench55 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-05-2011, 04:08 AM
  4. Replies: 5
    Last Post: 03-26-2011, 06:34 PM
  5. Conditional link to multiple workbooks
    By andygeb in forum Excel General
    Replies: 1
    Last Post: 01-07-2011, 06:05 AM
  6. Link two dynamic workbooks with multiple tabs
    By SFDemon in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 12-06-2008, 10:03 PM
  7. Attempting to link worksheets
    By Klimmy in forum Excel General
    Replies: 2
    Last Post: 09-28-2008, 03:17 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