Shape.Nodes Property (Excel)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Returns a ShapeNodes collection that represents the geometric description of the specified shape.

expression .Nodes

expression A variable that represents a Shape object.

This property applies to Shape or ShapeRange objects that represent freeform drawings.

This example adds a smooth node with a curved segment after node four in shape three on myDocument. Shape three must be a freeform drawing with at least four nodes.

Set myDocument = Worksheets(1) 
With myDocument.Shapes(3).Nodes 
 .Insert 4, msoSegmentCurve, msoEditingSmooth, 210, 100 
End With


Other resources