Results 1 to 4 of 4

Macro to search file location for presence of a specific file

Threaded View

  1. #1
    Registered User
    Join Date
    07-25-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    88

    Macro to search file location for presence of a specific file

    Hello,

    I want to design a worksheet, sort of a “dashboard”, that can summarize reporting for multiple employees. I work for a small accounting firm where 3 / 4 different employees are responsible for compiling approximately a dozen reports on a daily basis. Each report is saved in a unique folder with the same file name, except the date is changed/rolled to reflect reporting for the current day.

    I’d like to be able to open this dashboard, and for a given report, see whether or not something has been saved down. For example, in the attached sample file, the first report in row 7 is the “Trial Balance”. Column B expresses how the report is saved each day, as “TrialBalance_MMDDYYYY”. Based upon the date in row 5, is it possible for a macro to search for a file with the name TrialBalance_MMDDYYYY in a given directory, and return TRUE or FALSE? E.g. Given a specific location, if the macro identifies a file with the name “ExpReport_12242013”, it will return TRUE in cell C9. If that file name does not exist in the given directory location, then FALSE.

    If this is something that could be done, then the macro could look for a fixed file name, with a variable date suffix, in a given directory. The report would then return TRUE if that specific file exists and FALSE if it does not. This would create a useful and quick summary for me that would enable me to see which reports have been completed and which have not.

    Thank you for taking the time to read!

    -Student1990
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 07-11-2013, 02:08 AM
  2. Save as macro that specifies file type, file location and takes file name from three cells
    By ExcelFailure in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-13-2013, 10:09 PM
  3. macro button to attach file to a specific location
    By nicko54 in forum Excel General
    Replies: 0
    Last Post: 06-25-2012, 08:41 PM
  4. Macro for PDF to specific location and file name from Cell
    By NokiaFanatic in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-13-2010, 12:00 AM
  5. Macro - send a file to a specific location
    By Bob1955 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-28-2006, 03:29 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