Compartilhar via


Range.AddComment Method

Adds a comment to the range.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Function AddComment ( _
    Text As Object _
) As Comment
'Usage
Dim instance As Range
Dim Text As Object
Dim returnValue As Comment

returnValue = instance.AddComment(Text)
Comment AddComment(
    Object Text
)

Parameters

Return Value

Type: Microsoft.Office.Interop.Excel.Comment

See Also

Reference

Range Interface

Range Members

Microsoft.Office.Interop.Excel Namespace