Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 808 Bytes

Excel.Worksheet.Comments.md

File metadata and controls

39 lines (24 loc) · 808 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Worksheet.Comments property (Excel)
vbaxl10.chm175139
vbaxl10.chm175139
Excel.Worksheet.Comments
c2ad8ea7-0fa3-7cde-e3f2-49bbdb81d261
05/15/2019
medium

Worksheet.Comments property (Excel)

Returns a Comments collection that represents all the comments for the specified worksheet. Read-only.

Syntax

expression.Comments

expression A variable that represents a Worksheet 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

[!includeSupport and feedback]