+ Reply to Thread
Results 1 to 2 of 2

Macro to open file if found in a folder or any subfolders

  1. #1
    Registered User
    Join Date
    05-23-2012
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    1

    Post Macro to open file if found in a folder or any subfolders

    The attached Excel document demonstrates the ability to open a file by searching a specified folder and its sub folders. The parameter used is the file name (without the extension) entered in an input box.
    This is useful if you need to open a file that is normally saved with a unique ID, Reference or Code. Also useful if you need to open a specific Excel file and run a macro on it by providing the file name.
    You only need to change the path to your folder containing sub folders.

    Enjoy!

    My references include:
    Ron de Bruin @ http://www.rondebruin.nl/fso.htm
    Chip Pearson @ http://www.cpearson.com/Excel/RecursionAndFSO.htm
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Macro to open file if found in a folder or any subfolders

    thanks for sharing
    If solved remember to mark Thread as solved

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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