Shapes interface
Office 2013 and later
A collection of all the Shape objects on the specified sheet.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Each Shape object represents an object in the drawing layer, such as an AutoShape, freeform, OLE object, or picture.
Note |
|---|
If you want to work with a subset of the shapes on a document — for example, to do something to only the AutoShapes on the document or to only the selected shapes — you must construct a ShapeRange collection that contains the shapes you want to work with. |
Show:
Note