Partager via


IRange.AddComment Method

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 IRange
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

IRange Interface

IRange Members

Microsoft.Office.Interop.Excel Namespace