fileUpdatedDate Property

       

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

expression.fileUpdatedDate

expression   Required. An expression that returns a DispFPHTMLDocument object.

Example

The following example displays the name of the file and the date and time it was last updated.

Sub GetFilelastUpdate()
'Returns the date that the file was last updated

    Dim objApp As FrontPage.Application
    Dim objDoc As DispFPHTMLDocument

    Set objApp = FrontPage.Application
    Set objDoc = objApp.ActiveDocument
    'Displays date the file was last updated.
    MsgBox "The file " & objDoc.nameProp & " was last updated " & _
            objDoc.fileUpdatedDate & "."

End Sub