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
- Text
Type: System.Object
Return Value
Type: Microsoft.Office.Interop.Excel.Comment