ClearComments Method

Applies To

Range object.

Description

Clears all cell comments from the specified range.

Syntax

expression.ClearComments

expression Required. An expression that returns a Range object.

Example

This example clears all comments from cell E5.

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