Share via


Project.LastSavedBy Property

Project Developer Reference

Returns the name of the user who last saved a project. Read-only String.

Syntax

expression.LastSavedBy

expression   A variable that represents a Project object.

Example
The following example adds the date the active project was last saved and the name of the user who last saved it to the notes of the active project

Visual Basic for Applications
  Sub AddSaveInfoToNotes()
    ActiveProject.ProjectNotes = ActiveProject.ProjectNotes & vbCrLf & "This project was last saved on " & CStr(ActiveProject.LastSaveDate) & " by " & ActiveProject.LastSavedBy & "."
End Sub

See Also