Table of contents
Collapse the table of content
Expand the table of content

Task.Notes Property (Project)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

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


expression. Notes

expression A variable that represents a Task object.


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.


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

Note If a task is not selected, the code results in a run-time error 1004.

Sub AddDelayNote() 
 ActiveCell.Task.Notes = ActiveCell.Task.Notes &; vbCrLf &; vbCrLf &; "This task can be delayed." 
End Sub
© 2018 Microsoft