Table of contents
TOC
Collapse the table of content
Expand the table of content

SlideRange.Comments Property (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Returns a Comments object that represents a collection of comments. Read-only.

Syntax

expression. Comments

expression A variable that represents a SlideRange object.

Return Value

Comments

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

See also

Concepts

SlideRange Object

© 2018 Microsoft