View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.links
Bill Manville Bill Manville is offline
external usenet poster
 
Posts: 473
Default Displaying File Timestamp of Another Excel File

Put this in a standard module in your workbook:

Function FileDate(FileName As String) As Date
Application.Volatile
FileDate = FileDateTime(FileName)
End Function

Put this in a cell in a worksheet in your workbook
=FileDate("C:\Temp\MyFile.xls") [amend as appropriate]


Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup