+ Reply to Thread
Results 1 to 4 of 4

List of files in folder

  1. #1
    Registered User
    Join Date
    02-15-2006
    Posts
    93

    List of files in folder

    Good afternoon all,

    I have a folder that has a lot of documents in it. I also have an excel file that lists all the documents and the file paths. Basically an index that allows a user to select a document from a listbox and open it.

    What I want to do is automate the updating of this list. I want to have a button that I will press, on a userform, that will then compare the files in the folder to the list in my spreadsheet. Any new files will be added to a listbox for the user to select and provide additional details.

    What I am not sure is how to grab the file name of the files in the folder without opening the open dialog box. Ideas?

    Thank you in advance!!!
    dw

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    Have a look at the download on my home page for a macro which lists file names in a folder (and sub folders).
    Martin

  3. #3
    Registered User
    Join Date
    01-09-2007
    Posts
    59
    Assumes your file list is in Column A

    Please Login or Register  to view this content.
    ska

  4. #4
    Registered User
    Join Date
    02-15-2006
    Posts
    93
    Thanks guys! Exactly what I needed to get this working!
    dw

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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