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 (Microsoft MVP / EE MVE)
Ingeborg Hawighorst (Microsoft MVP / EE MVE) 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

Business Impact of IT Communications

What are the business impacts of how well businesses communicate during an IT incident? Targeting, speed, and transparency all matter. Find out more in this infographic.

Question has a verified solution.

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

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

705 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