Class Comment (PowerPoint VBA)

The class Comment represents a comment on a given slide or slide range. The Comment object is a member of the Comments collection object.


Dim cmm as Comment
Set cmm = Application.Selection.Comments(Index:=1)

Methods

Delete - Deletes the specified Comment object.

Properties

Author returns a String that represents the author as for a specified Comment object.

AuthorIndex returns a Long representing the index number of a comment for a given author. The first comment for a given author has an index number of 1, their second comment has an index number of 2.

AuthorInitials returns the author's initials as a read-only String for a specified Comment object.

Collapsed returns whether the replies to a comment are shown (expanded) or hidden (collapsed). Ready-only.

DateTime returns the date and time a comment was created.

Left returns a Single that represents the distance in points from the left edge of the comment to the left edge of the slide.

ProviderID returns a String that represents ID of the service providing contact information.

Replies returns a Comments collection of Comment objects that are children of the specified comment.

Text returns a String that represents the text in a comment.

TimeZoneBias returns a String that specifies the local time zone adjustment for the contact.

Top returns a Single that represents the distance in points from the left edge of the comment to the left edge of the slide.

UserID returns a String that represents user ID of the contact.

Comments - Represents a collection of Comment objects.