DATE MODIFIED

  • Thread starter Thread starter Simon
  • Start date Start date
S

Simon

Hi
I would like some code which places the "date modified" of an external
workbook into a cell.
Can anyone help,
Thanks
Simon
 
'For date
Range("A3") = Datevalue(filedatetime("d:\sales.xls"))

'For date and time
Range("A3") = filedatetime("d:\sales.xls")
 
Back
Top