Date Excel File Last Updated

Posted on 2015-02-13
Last Modified: 2015-02-13

I have a network share full of Excel files. Is there an approach or way in which I can output into a file the Path/URL of the Excel file and the date on which it was last modified where the file type is excel and the word "Workbook" is in the title of the excel file?

Thanks in advance

Question by:gisvpn
  • 2
  • 2
LVL 50

Assisted Solution

by:Ingeborg Hawighorst
Ingeborg Hawighorst earned 167 total points
ID: 40607475

that can be done with Power Query. It is a free download from Microsoft. You can query a network folder (and sub folders) and you can filter out all Excel files and return the Date Modified for each file.

Power Query to filter files on a network share
cheers, teylyn
LVL 24

Assisted Solution

by:Phillip Burton
Phillip Burton earned 333 total points
ID: 40607479
Just bear in mind that the Windows Explorer dates are not necessarily 100% reliable - see the article "Windows Explorer v Metadata dates" for details.

If you want some corroboration as to the correct dates, then I suggest you have a look at the metadata "Date Last Saved" (or other document properties such as Date Created or Date Printed), which includes information on how to get this data into Excel.

However, Microsoft's Power Query will enable you to get the Windows Explorer data, if you are confident that that is sufficient for your purposes. However, you will need either Microsoft Office 2010 Professional Plus with Software Assurance or Microsoft Office 2013 Professional Plus, Office 365 ProPlus or Excel 2013 Standalone for that purpose. This is a limitation which I have come up against before- it's very specific. :-(

Author Comment

ID: 40607990
Hi teylyn - brilliant tool, had not know that this existed but after downloading and using it seems like a useful utility.

Hi Phillip - quick question on your word of caution and thanks for highlighting this. Do you know why they are not 100% reliable? I will be looking at date modified and date last accessed - can these report incorrectly?
LVL 24

Accepted Solution

Phillip Burton earned 333 total points
ID: 40607995
As I said, see the article "Windows Explorer v Metadata dates" for details.

Author Comment

ID: 40608218
Thanks Phillip - sorry I had not realized this link was about the reliability of the dates! Thank you.

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now