Share via


Project.ProjectNotes Property

Project Developer Reference

Returns or sets the notes for the project. Read/write String.

Syntax

expression.ProjectNotes

expression   A variable that represents a Project object.

Return Value
String

Example

The following example adds the date and time to the Comments field in the Project Properties dialog box and then saves the project.

Visual Basic for Applications
  Sub SaveAndNoteTime()
    Projects(1).ProjectNotes = Projects(1).ProjectNotes & vbCrLf & "This project was last saved on " _
        & Date$ & " at " & Time$ & "."
    FileSave
End Sub

See Also