Catatan
Akses ke halaman ini memerlukan otorisasi. Anda dapat mencoba masuk atau mengubah direktori.
Akses ke halaman ini memerlukan otorisasi. Anda dapat mencoba mengubah direktori.
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
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.