Muokkaa

Jaa


Worksheet.CommentsThreaded property (Excel)

Returns a CommentsThreaded collection that represents all the top-level/root comments (no replies) for the specified worksheet. Includes legacy and modern comments. Read-only.

Syntax

expression.CommentsThreaded

expression A variable that represents a Worksheet object.

Example

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

For Each c in ActiveSheet.CommentsThreaded
 If c.Author.Name = "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.