Deletes a shape node.
expression.Delete(Index)
expression Required. An expression that returns a ShapeNodes object.
Index Required Long. Specifies the node to be deleted. The segment following that node will also be deleted. If the node is a control point of a curve, the curve and all of its nodes will be deleted.
Delete method as it applies to the Tags object.
Deletes a tag.
expression.Delete(Name)
expression Required. An expression that returns a Tags object.
Name Required String. Specifies the name of the tag to be deleted.
Delete method as it applies to the all other objects in the Applies To list.
Deletes the specified object.
expression.Delete
expression Required. An expression that returns one of the objects in the Applies To list except for the ShapeNodes and Tags objects.
Remarks
Attempting to delete the only existing row or column in a table will result in a run-time error.
Example
As it applies to the Shape object.
This example deletes all freeform shapes from slide one in the active presentation.
With Application.ActivePresentation.Slides(1).Shapes
For intShape = .Count To 1 Step -1
With .Item(intShape)
If .Type = msoFreeform Then .Delete
End With
Next
End With