+ Reply to Thread
Results 1 to 9 of 9

gather data from multiple files in a folder.

  1. #1
    Registered User
    Join Date
    09-03-2014
    Location
    Cullman, Alabama
    MS-Off Ver
    2010
    Posts
    31

    gather data from multiple files in a folder.

    Hi,
    I am trying to get cell values from multiple files to be put into a list. All the files are the same format. I have 7 cells from each workbook that needs to be put into this list. the files will continue to grow as they are work orders. I have already made the work order form with a date / time stamp submit button. the even go in the right file path.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: gather data from multiple files in a folder.

    Post the LIST workbook, post a sample or two of the "multiple files", and list the cells you want extracted and where they should go in the LIST workbook.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    09-03-2014
    Location
    Cullman, Alabama
    MS-Off Ver
    2010
    Posts
    31

    Re: gather data from multiple files in a folder.

    001 Gorika Request.xlsx.xlsmAuto Job List.xlsx

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: gather data from multiple files in a folder.

    1) Here is an improved SaveAndDate macro in your form:
    Please Login or Register  to view this content.
    This saves the file the same as before without changing the name of your current file (template) nor changing your current working directory, it saves to the correct path all the time.



    In the Auto Job List.xlsm this macro will detect all the filenames in your filepath and add them as FORMULAS to the sheet, this way it extracts the information without opening the files and if you ever open and edit those forms, this list will update itself via the formula. You can leave the forms in the filepath because the macro will only add each named file once to the list.
    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    09-03-2014
    Location
    Cullman, Alabama
    MS-Off Ver
    2010
    Posts
    31

    Re: gather data from multiple files in a folder.

    this is working great. thank You

  6. #6
    Registered User
    Join Date
    09-03-2014
    Location
    Cullman, Alabama
    MS-Off Ver
    2010
    Posts
    31

    Re: gather data from multiple files in a folder.

    I moved everything to the server. I got the work order to save, but can not get this to pull info. it does not give an error either.
    Please Login or Register  to view this content.
    Last edited by Jarrettm; 09-04-2014 at 02:35 PM. Reason: CODE WRONG

  7. #7
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: gather data from multiple files in a folder.

    That's an entirely different topic, one I have zero answers for. Perhaps you can share a folder from your own local system for the others to save their Forms into, one which is local to you so your main formulas keep working.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  8. #8
    Registered User
    Join Date
    09-03-2014
    Location
    Cullman, Alabama
    MS-Off Ver
    2010
    Posts
    31

    Re: gather data from multiple files in a folder.

    I fixed it. When copping a file path it does not copy the \. I added it to the file path in the macros. Works great. Thank you for your help.

  9. #9
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: gather data from multiple files in a folder.

    Awesome. Glad to hear. As it appears you've reached a conclusion, I've marked this thread SOLVED for you.
    FYI, this is done through the Thread Tools located above the first post in this thread. Thanks.

+ 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. Can excel gather data from every work book in a folder?
    By McCool in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-22-2013, 06:12 AM
  2. [SOLVED] VBA code to gather data from multiple worksheets in the same folder-Master List
    By lax2734 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-23-2012, 03:07 PM
  3. Extracting Data from Multiple Files in a Folder
    By endoskeleton in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-24-2011, 11:23 PM
  4. Importing multiple data files from one folder into one workbook
    By ArcticC in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-25-2011, 12:56 PM

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