Comments.Add method (Visio)

Adds a new Comment object to the Comments collection, and returns the new object.

Syntax

expression.Add (Text)

expression A variable that represents a Comments object.

Parameters

Name Required/Optional Data type Description
Text Required String The text of the comment to add.

Return value

COMMENT

See also

Comments Collection

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.