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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

730 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