共用方式為


ShapeRange.Nodes Property (Excel)

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

Syntax

expression .Nodes

expression A variable that represents a ShapeRange object.

Remarks

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

Example

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

請參閱

概念

ShapeRange Object Members

ShapeRange Object