Project.LastSavedBy property (Project)

Gets 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

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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.