Edit

Share via


Comment.Previous Method

Definition

Returns a Comment object that represents the previous comment.

public:
 Microsoft::Office::Interop::Excel::Comment ^ Previous();
public Microsoft.Office.Interop.Excel.Comment Previous ();
Public Function Previous () As Comment

Returns

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).

Applies to