Muokkaa

Jaa


CommentThreaded.AddReply method (Excel)

If the comment is a top-level comment, it will add a reply to its replies collection.

If this comment is a reply, it will add a reply to its Parent's replies collection.

Syntax

expression.AddReply (Text)

expression A variable that represents a CommentThreaded object.

Parameters

Name Required/Optional Data type Description
Text Optional Variant The reply's text.

Return value

CommentThreaded

Example

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

Worksheets(1).Range("E5").CommentThreaded.AddReply "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.