Comment.Text method (Excel)

Sets comment text.


expression.Text (Text, Start, Overwrite)

expression A variable that represents a Comment object.


Name Required/Optional Data type Description
Text Optional Variant The text to be added.
Start Optional Variant The character number where the added text will be placed. If this argument is omitted, any existing text in the comment is deleted.
Overwrite Optional Variant False to insert the text. The default value is True (text is overwritten).

Return value


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.