Skip to main content

Range.ClearComments method

Table of contents
  1. Syntax
  2. Example

Clears all cell comments from the specified range.

Syntax

expression.ClearComments

expression A variable that represents a Range object.

Example

This example clears all comments from cell A5.

Worksheets(1).Range("A5").ClearComments

Leave a comment

Your email address will not be published. Required fields are marked *

Format your code: <pre><code class="language-vba">place your code here</code></pre>