+ Reply to Thread
Results 1 to 4 of 4

Extract file names from folder`

  1. #1
    Registered User
    Join Date
    05-29-2007
    Posts
    4

    Extract file names from folder`

    I've recently been given a couple of hard-drives with a large and umanageable number of video files in a couple of folders. I want to create an excel sheet with a list of file names extracted from each folder. Ideally these will be hyperlinked back to the original files.
    The hyperlinking I'm assuming needs to be done manually, but can I automate the entry for the list of files?

  2. #2
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    Have a look at

    http://www.vbaexpress.com/kb/getarti...da54213fdf7d82
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    After you've run the code suggested by mudraker, you can concatenate the results to create a hyperlink.

    Assuming the directory info extracted takes up columns A:H, then put this formula in I1 and copy down.

    Please Login or Register  to view this content.
    then you can hide columns A:H so that I is the only visible column.

    You may need to adjust the formula by adding/subtracting cell refs depending on the length of your paths.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Registered User
    Join Date
    05-29-2007
    Posts
    4
    Thanks guys for your replies. I'll give it a whirl....

+ 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