+ Reply to Thread
Results 1 to 3 of 3

Trying to automate data entry into one workbook from multiple workbooks

  1. #1
    Registered User
    Join Date
    02-19-2017
    Location
    Canada
    MS-Off Ver
    2013
    Posts
    1

    Trying to automate data entry into one workbook from multiple workbooks

    Hello all,

    So I have hundreds of closed workbooks that describe one ID # (example: 10001, 10002, 10003). In each work book there are cells that are defined by name (example: Name 1, Name 2, Name 3) that I need to input into a master workbook. The workbooks I am pulling data from are not in a nice table. They're in a form. The Master Workbook will reorganize the data into a nice table format. What I have considered doing was having each cell pre-referenced to one of the blank forms and finding and replacing the file path to get the data. This becomes quite tedious. I figure this is a common task that people use everyday so I bring the question to you all. Do any of you have a good solutions to this?

    I am open to using VBA.

    Just ask me if you require more description of the problem.

    Thanks!

  2. #2
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Trying to automate data entry into one workbook from multiple workbooks

    Hi, welcome to the forum.
    It all sounds very nice and complicated, but honestly, I cannot grasp what you have and what you are really doing.
    Could you attach three samples? One of the 'master' and two of those hundreds of workbooks?
    Please make sure they do NOT contain private or sensitive data.
    Include a worksheet with the desired result to paint a complete picture.
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

  3. #3
    Valued Forum Contributor
    Join Date
    03-24-2014
    Location
    England
    MS-Off Ver
    Excel 2003 - 2016
    Posts
    575

    Re: Trying to automate data entry into one workbook from multiple workbooks

    The more information you have the easier this is going to be. eg, if you have a list of all the files you need to copy data from you can put them all (full path) into a column in Excel and loop down through them, opening, copying the data and closing again. If not then you'll have to mess around with filesystem objects to get a directory listing of the folder(s) they're in.

    The good news is if the data is all in named ranges then it doesnt matter where it's stored in the workbook. You can access it using range("nameofrange").value

    So for a group of source data files you know the location of:

    Please Login or Register  to view this content.

    thisworkbook.sheets("SheetName").range("A1048000").end(xlup).row + 1 selects the next empty cell in column A to copy the data to.

+ 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. Distribute data from Single entry table to Multiple Workbooks
    By noront in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 12-07-2016, 09:46 AM
  2. Replies: 2
    Last Post: 01-22-2016, 08:03 PM
  3. Replies: 9
    Last Post: 02-13-2015, 05:12 AM
  4. Replies: 0
    Last Post: 07-29-2013, 03:00 AM
  5. Automate Data Transfer workbook to 500 workbooks
    By freud1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-16-2009, 11:06 PM
  6. Automate data entry from single cell reference!
    By Spellbound in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-11-2009, 08:36 AM
  7. summarizing data from multiple workbooks into one workbook
    By brucereno in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-30-2008, 06:29 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