다음을 통해 공유


Range.AddComment Method (Excel)

Adds a comment to the range.

Syntax

.AddComment(Text)

A variable that represents a Range object.

Parameters

Name

Required/Optional

Data Type

Description

Text

선택

Variant

The comment text.

Return Value

Comment

Example

This example adds a comment to cell E5 on worksheet one.

Worksheets(1).Range("E5").AddComment "Current Sales"

참고 항목

개념

Range Object Members

Range Object