Text Method

         Example         Applies To

Sets comment text.

Syntax

expression.Text(Text, Start, Overwrite)

expression   Required. An expression that returns a Comment object.

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. True to overwrite the existing text. The default value is False (text is inserted).