Share via


Task.Notes Property

Project Developer Reference

Returns or sets the notes for a task. Read/write String.

Syntax

expression.Notes

expression   A variable that represents a Task object.

Return Value
String

Remarks

The Notes property does not accept characters with an ASCII value less than 32, except for the carriage return (ASCII 13) and linefeed (ASCII 10) characters.

Example
The following example adds a comment to the notes of the resource in the active cell.

Visual Basic for Applications
  Sub SaveAndNoteTime()
    ActiveCell.Resource.Notes = ActiveCell.Resource.Notes & vbCrLf & vbCrLf & "No status report yet."

End Sub

See Also