Returns a String that represents the date and time that the current document was last modified. Read-only.
expression.lastModified
expression Required. An expression that returns a DispFPHTMLDocument.
The following example displays the name of the file and the date on which it was last modified.
Sub GetLastModifiedDate()
'Returns the last modification date of the current document
Dim objApp As FrontPage.Application
Dim objDoc As DispFPHTMLDocument
Set objApp = FrontPage.Application
Set objDoc = objApp.ActiveDocument
'Display name of file and date last modified.
MsgBox "The file " & objDoc.nameProp & " was last modified on " & _
objDoc.lastModified & "."
End Sub