A newer version of this page is available. Switch to the current version.
How to: Remove a Shape
This example illustrates how to remove a shape.
If a target item is a Chart or Picture object, the ShapeCollection.RemoveAt method call removes this shape from two collections: ShapeCollection and ChartCollection or PictureCollection, respectively.