Comment.Author property (Excel)

Returns the author of the comment. Read-only String.

Syntax

expression.Author

expression A variable that represents a Comment object.

Example

This example deletes all comments added by author Jean Selva on the active sheet.

For Each c in ActiveSheet.Comments 
 If c.Author = "Jean Selva" Then c.Delete 
Next

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.