+ Reply to Thread
Results 1 to 2 of 2

Trying to Pull the Oldest Date of a File from a Folder

  1. #1
    Registered User
    Join Date
    04-12-2019
    Location
    Dallas
    MS-Off Ver
    2016
    Posts
    64

    Trying to Pull the Oldest Date of a File from a Folder

    I am trying to find the oldest file in a folder. It pulls dates, but the dates are wrong like the oldest date in a file is 4/1/2019, but it kept saying 3/29/2019. I would also like it to count how many files are older than 2 months from todays date. So in like column B have the oldest file, then in column C say how many files are over 2 months old.

    Please Login or Register  to view this content.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,885

    Re: Trying to Pull the Oldest Date of a File from a Folder

    Try this VBA and see if it works for you

    Please Login or Register  to view this content.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Pull Date Modified from file folder
    By KColgrove in forum Excel General
    Replies: 1
    Last Post: 05-22-2019, 11:46 PM
  2. [SOLVED] Formula to pull the oldest date in a column, but has criteria from another column
    By cordeparker in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-03-2018, 05:26 PM
  3. Return oldest date in range when a file is open
    By mementomori in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-08-2016, 10:17 AM
  4. Macro to pull file from folder location Automatically
    By Ngutierr in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-06-2015, 04:35 AM
  5. Pull data from the latest file in a folder
    By iancghln in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-21-2012, 02:24 PM
  6. [SOLVED] Want to Pull File Names From Folder into Excel
    By lytsty in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-06-2012, 08:33 PM
  7. Create Folder with system date then save file to folder
    By cartotech81 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-06-2009, 02:12 PM

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