+ Reply to Thread
Results 1 to 2 of 2

VBA Excel function to search computer for given file name and return file path

  1. #1
    Registered User
    Join Date
    05-16-2013
    Location
    Dayton, Ohio
    MS-Off Ver
    Excel 2003
    Posts
    1

    VBA Excel function to search computer for given file name and return file path

    I have an excel database with information that is related to pictures I have in a folder on my computer. They are related by the file path of the picture but soon the database and picture folder will move to a different computer. Is there a way to write a VBA function to look for a given file name on a computer and return its file path (basically update the file path after the file has been moved).

  2. #2
    Valued Forum Contributor
    Join Date
    06-16-2006
    Location
    Sydney, Australia
    MS-Off Ver
    2013 64bit
    Posts
    1,394

    Re: VBA Excel function to search computer for given file name and return file path

    Out of the box - no. But you could use my directory lister sheet.

    http://mixednuts.net.au/excel/

    This will give you all files in a folder And sub folders, with a full path in another cell. That may help you.

+ 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