#1   Report Post  
nina
 
Posts: n/a
Default DateLastModified

Hi! I´m making a macro on Excel 2003 and i have to find how to show the date
of the last modified in a workbook. Someone can help me?
  #2   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

ActiveWorkbook.BuiltinDocumentProperties("Last Save Time").Value

--
When sending mail, use address arvil<attarkon.ee
Arvi Laanemets


"nina" wrote in message
...
Hi! I´m making a macro on Excel 2003 and i have to find how to show the

date
of the last modified in a workbook. Someone can help me?



  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

Using VBA


Function DocProps(prop As String)
Application.Volatile
On Error GoTo err_value
DocProps = ActiveWorkbook.BuiltinDocument*Properties _
(prop)
Exit Function
err_value:
DocProps = CVErr(xlErrValue)
End Function


and enter in a cell
=DOCPROPS("last save time")
(format cell as date)


This is a custom UDF, so you need to place the code in a normal code module.



--

HTH

RP
(remove nothere from the email address if mailing direct)


"nina" wrote in message
...
Hi! I´m making a macro on Excel 2003 and i have to find how to show the

date
of the last modified in a workbook. Someone can help me?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:20 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"