Add Method (Comments Collection)
Applies To
Comments collection object.
Description
Adds a comment to the specified range.
Syntax
expression.Add(Range, Text)
expression Required. An expression that returns a Comments object.
Range Required Range. The range to have a comment added to it.
Text Optional Variant. The text of the comment.
See Also
Comment object.
Example
This example adds a comment at the insertion point.
Selection.Collapse Direction:=wdCollapseEnd
ActiveDocument.Comments.Add Range:=Selection.Range, Text:="review this"
This example adds a comment to the third paragraph in the active document.
Set myRange = ActiveDocument.Paragraphs(3).Range
ActiveDocument.Comments.Add Range:=myRange, _
Text:="original third paragraph"