Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Track Date Created & Last Modified Dates
Is there any way of getting the Date Created & Last Modified Dates for an
Excel file so that I can create a summary report of time spent on on a file? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Track Date Created & Last Modified Dates
for a closed file
Sub ABB() Dim fso As New FileSystemObject Dim f As File 'Get a reference to the File object. Set f = fso.GetFile(Environ("windir") & "\system.ini") Debug.Print f.DateCreated Debug.Print f.DateLastAccessed Debug.Print f.DateLastModified End Sub Requires a reference to the Microsoft Scripting Runtime or modify to use late binding Dim fso as Object, f as Object Set fso = CreateObject("Scripting.FileSystemObject") Otherwise, you might be talking about the build in document properties http://www.cpearson.com/excel/docprop.htm -- Regards, Tom Ogilvy "TonyD" wrote in message ... Is there any way of getting the Date Created & Last Modified Dates for an Excel file so that I can create a summary report of time spent on on a file? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Can't sort cells in date order that contain dates created from arr | Setting up and Configuration of Excel | |||
two variable dates created from a single date | New Users to Excel | |||
Use date modified to change format & create filter to track change | Excel Worksheet Functions | |||
Date formatting of formula created dates | Excel Discussion (Misc queries) | |||
Change File DATE created & modified | Excel Programming |