fileModifiedDate Property

       

Returns a String that represents the date and time that the current document was last modified. Read-only.

expression.fileModifiedDate

expression   Required. An expression that returns a DispFPHTMLDocument object.

Example

The following example displays the title of the document and the date and time it was last modified.

Sub GetModifiedDate()
'Returns the 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.fileModifiedDate & "."

End Sub