Comment.Range Property (Word)

Returns a Range object that represents the contents of a comment.

Syntax

expression .Range

expression Required. A variable that represents a Comment object.

Example

This example changes the text of the first comment in the document.

With ActiveDocument.Comments(1).Range 
 .Delete 
 .InsertBefore "new comment text" 
End With

See Also

Concepts

Comment Object

Comment Object Members