Share via


Comments.Add Method

PowerPoint Developer Reference

Returns a Comment object that represents a new comment added to a slide.

Syntax

expression.Add(Left, Top, Author, AuthorInitials, Text)

expression   A variable that represents a Comments object.

Parameters

Name Required/Optional Data Type Description
Left Required Single The position, measured in points, of the left edge of the comment, relative to the left edge of the presentation.
Top Required Single The position, measured in points, of the top edge of the comment, relative to the top edge of the presentation.
Author Required String The author of the comment.
AuthorInitials Required String The author's initials.
Text Required String The comment's text.

Return Value
Comment

See Also