Share via


Comment.Shape Property

Excel Developer Reference

Returns a Shape object that represents the shape attached to the specified comment.

Syntax

expression.Shape

expression   An expression that returns a Comment object.

Example

This example selects comment two on the active sheet.

Bb214517.vs_note(en-us,office.12).gif  Note
Ensure that the comments are not hidden. On the Review Tab, choose Comments, Show All Comments.
Visual Basic for Applications
  ActiveSheet.Comments(2).Shape.Select

See Also