+ Reply to Thread
Results 1 to 3 of 3

List all .xl* files in folder then pull value from cells of each

  1. #1
    Registered User
    Join Date
    10-18-2007
    MS-Off Ver
    2010
    Posts
    90

    List all .xl* files in folder then pull value from cells of each

    Good Day!
    I have scoured this site and others for an answer to this and perhaps am not using the correct keywords.
    I am trying to create a file for other users who need to pull a list of all files in their directory, as well as values from specific cells within those files. The trick is the file names and directories will change based on the user, but the cell references will not. I would love to use an indirect formula, but there will be 50+ files in each user's folder and therefore will not all be open.

    I would prefer to execute this without VBA, but will if needed. Also to note, our systems are locked down such that we cannot download add-ins.

    I am attaching a file that shows my desired outcome. Please let me know if you need more information.

    Thank you!
    N
    Attached Files Attached Files

  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: List all .xl* files in folder then pull value from cells of each

    1) Remove all the column A formulas
    2) A1= 'Path"
    3) Leave B1 blank
    4) A2 = "Sheetname"
    5) B2 = "Sheet1"
    6) A3 = "Cells"
    7) B3:?? = enter as many cell addresses as you'd like, this will be done dynamically, go as far out row 3 as needed
    8) Row4 enter you titles, optional
    9) Make sure all cells below here are clear.

    This macro will ASK you to select a folder, it will process all files within the selected folder. The results will be formulas in the cells.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    _________________
    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
    10-18-2007
    MS-Off Ver
    2010
    Posts
    90

    Re: List all .xl* files in folder then pull value from cells of each

    Jerry, thank you for your quick reply. This does just what I need!

    Cheers!

+ 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. macros to list all files in folder THEN get info from files?
    By jonyorker in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-06-2015, 03:11 AM
  2. Pull data from csv files added into a network folder
    By aaron_burr in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-23-2014, 11:42 AM
  3. Macro to pull pictures from folder to cells
    By iowitz in forum Excel Programming / VBA / Macros
    Replies: 28
    Last Post: 12-11-2013, 12:27 AM
  4. i need a macro to pull excel files from a folder and print them
    By kmraz in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-06-2013, 06:53 PM
  5. [SOLVED] Macro to pull in files from folder that is unknown
    By SeaniGeld in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-23-2013, 02:23 PM
  6. Pull out numbers and text from 10+ excel files in a folder
    By ammarkhan in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-24-2012, 03:17 PM
  7. Noob 4 Help - Macro to LIST ALL FILES IN FOLDER and then IMPORT ALL LISTED FILES
    By StlSmiln in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-25-2012, 04:02 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