Diagram interface
Office 2013 and later
Represents a diagram.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Use the Diagram property of the Shape object or ShapeRange collection to a return a Diagram object.
You can also convert the current diagram to a different diagram by using the Convert method.
Note If the current diagram is an organization chart (msoDiagramOrgChart) a run-time error will occur.
There are several types of diagrams to choose from when working with the Diagram object. Refer to the AddDiagram method to view a list of available diagram types.
Show: