Represents a diagram.
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
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.