Comment.AuthorInitials property (PowerPoint)

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

Syntax

expression. AuthorInitials

expression A variable that represents an Comment object.

Return value

String

Remarks

This property only returns the author's initials. To return the author's name use the Author property. Specify the author's initials when you add a new comment to the presentation.

Example

The following example returns the author's initials for a specified comment.

Sub GetAuthorName()

    With ActivePresentation.Slides(1)
        .Comments.Add Left:=100, Top:=100, Author:="Jeff Smith", _
            AuthorInitials:="JS", _
            Text:="This is a new comment added to the first slide."

        MsgBox .Comments(1).Author & .Comments(1).AuthorInitials
    End With

End Sub

See also

Comment Object

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.