+ Reply to Thread
Results 1 to 10 of 10

Find New/ Updated files in Folder

  1. #1
    Valued Forum Contributor Parth007's Avatar
    Join Date
    12-01-2014
    Location
    Banglore
    MS-Off Ver
    2010
    Posts
    879

    Find New/ Updated files in Folder

    Hello Friends,

    I have 1 folder which contains many word files for example :- I have 10 word files..

    Now.. if some files are updated or if new files are added.. how can we know which one are updated & which one are new..
    can we achieve this with VBA..

    Please suggest

    Below code gives details of files in the folder we specify
    This code gives details of files with date.. but how do I find which files are new or which files are added
    Last edited by Parth007; 03-08-2016 at 03:47 AM.
    Regards
    Parth

    I appreciate your feedback. Hit * if u Like.
    Rules - http://www.excelforum.com/forum-rule...rum-rules.html

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Find New/ Updated files in Folder

    Hi Parth,

    You first need a list of all .doc files in that directory. To do this: Install Power Query as an Add-in to your version of Excel. It comes standard in Excel 2016 but you can install it in 2010 or 2013.

    Power Query has a function to get all folder path contents. This will show file names, create date, modify date etc. If you save this as a Table (Close and Load) and then copy it to another place and tag it as a date saved, you can do the same thing tomorrow and compare the two saved tables.

    In Power Query there is also an easy method to Find Differences.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Valued Forum Contributor Parth007's Avatar
    Join Date
    12-01-2014
    Location
    Banglore
    MS-Off Ver
    2010
    Posts
    879

    Re: Find New/ Updated files in Folder

    Hi Marvin.. Unfortunately I am not allowed to install anything on client system... I have to use vba to make it

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Find New/ Updated files in Folder

    This isn't any old Add In, it is from Microsoft and one of their newer tools.

    https://www.microsoft.com/en-us/down...4-53f259972dd4

    See if the boss/company won't allow you to upgrade one of the versions of Excel with the newer functions.

  5. #5
    Valued Forum Contributor Parth007's Avatar
    Join Date
    12-01-2014
    Location
    Banglore
    MS-Off Ver
    2010
    Posts
    879

    Re: Find New/ Updated files in Folder

    I did speak with her (My Boss).. sorry not allowed.. no add-ins nothing..

    IF I achieve it with VBA then its ok.. else I have to leave the topic..

  6. #6
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Find New/ Updated files in Folder

    Please Login or Register  to view this content.
    so if last column = true then newly created?
    Last edited by humdingaling; 03-08-2016 at 03:21 AM.
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  7. #7
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Find New/ Updated files in Folder

    Maybe :

    Please Login or Register  to view this content.

  8. #8
    Valued Forum Contributor Parth007's Avatar
    Join Date
    12-01-2014
    Location
    Banglore
    MS-Off Ver
    2010
    Posts
    879

    Re: Find New/ Updated files in Folder

    Hi Humdingaling.. yes it do show the difference in last modified & date created..

    but if new file is added then it shows both same time .. which is ideally correct..

    but how can we get to know that previous it was 10 files files & Now the files are 11.. & the newly created file is ??

  9. #9
    Valued Forum Contributor Parth007's Avatar
    Join Date
    12-01-2014
    Location
    Banglore
    MS-Off Ver
    2010
    Posts
    879

    Re: Find New/ Updated files in Folder

    karedog.. grt superb.. this will surely take me 50% ahead

  10. #10
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Find New/ Updated files in Folder

    Glad to hear that, and thanks for the rep. points.


    Regards

+ 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. Find and delete duplicate files if they exist in another specified folder
    By gws1971 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-21-2016, 09:51 AM
  2. find list of files in different subfolder and move them to one folder
    By CobraLAD in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-12-2015, 05:35 AM
  3. [SOLVED] Find and read excel files in a specific folder
    By kansalainen in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-05-2013, 06:16 PM
  4. How to find files in a folder and write the path to the spreadsheet
    By KrNpRiDe in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 09-25-2009, 06:59 PM
  5. Find Details of Files in Folder
    By dvent in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-22-2007, 09:04 PM
  6. find all the excel files in a folder.
    By jackm1 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-20-2005, 06:05 PM
  7. [SOLVED] Find and Replace on all worksheets on all files in a folder
    By Rob Slagle in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-27-2005, 11:06 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