Adds a new modern threaded comment to the range if no comment already exists.
Syntax
expression.AddCommentThreaded (Text)
expression A variable that represents a Range object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
Text | Required | String | The comment text. |
Return value
CommentThreaded
Example
This example adds a threaded comment to cell D4 on worksheet one.
Worksheets(1).Range("D4").AddCommentThreaded "Current Sales"