Comment.Next Method
Excel Developer Reference |
Returns a Comment object that represents the next comment.
Syntax
expression.Next
expression An expression that returns a Comment object.
Return Value
Comment
Remarks
This method works only on one sheet. Using this method on the last comment on a sheet returns Null (not the next comment on the next sheet).
Example
This example shows every second comment, navigating with the next method.
Note |
---|
Please test in a new workbook with no existing comments. To clear all comments from a workbook use Selection.SpecialCells(xlCellTypeComments).delete in the Immediate Pane. |
Visual Basic for Applications |
---|
|
See Also