Share via


Comments Property

Comments Property
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Returns a Comments object that represents a collection of comments.

expression.Comments

expression   Required. An expression that returns one of the objects in the Applies To list.

Example

The following example adds a comment to a slide.

  Sub AddNewComment()
    ActivePresentation.Slides(1).Comments.Add _
        Left:=0, Top:=0, Author:="John Doe", AuthorInitials:="jd", _
        Text:="Please check this spelling again before the next draft."
End Sub