Range.AddCommentThreaded method (Excel)

Adds a new modern threaded comment to the range if no comment already exists.


expression.AddCommentThreaded (Text)

expression A variable that represents a Range object.


Name Required/Optional Data type Description
Text Required String The comment text.

Return value



This example adds a threaded comment to cell E5 on worksheet one.

Worksheets(1).Range("E5").AddCommentThreaded "Current Sales"

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.