Compartilhar via


Comment.Previous Method

Returns a Comment object that represents the previous comment.

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

Syntax

'Declaration
Function Previous As Comment
'Usage
Dim instance As Comment
Dim returnValue As Comment

returnValue = instance.Previous()
Comment Previous()

Return Value

Type: Microsoft.Office.Interop.Excel.Comment

Remarks

This method works only on one sheet. Using this method on the first comment on a sheet returns Null (not the last comment on the previous sheet).

See Also

Reference

Comment Interface

Comment Members

Microsoft.Office.Interop.Excel Namespace