Options.CommentsColor Property

Word Developer Reference

Returns or sets a WdColorIndex constant that represents the color of comments in a document. Read/write.

Syntax

expression.CommentsColor

expression   Required. A variable that represents an Options collection.

Example

This example sets the global option for Microsoft Word to color comments made in documents according to the author of the comment.

Visual Basic for Applications
  Sub ColorCodeComments()
    Options.CommentsColor = wdByAuthor
End Sub

See Also