Excel Quit Graph VI
- Updated2024-07-30
- 2 minute(s) read
Closes all ActiveX references related to a graph. Use this VI after you insert, update, or format a graph using Excel.

Inputs/Outputs
—
report in is a reference to the report whose appearance, data, and printing you want to control. Use the New Report VI to generate this LabVIEW class object.
graph index (-1)
—
graph index specifies the index of the graph to modify. The default is -1, in which the VI modifies the last graph in the current worksheet. Note Graphs, images, ActiveX controls, and OLE objects form a collection for each worksheet. Each object has an index value based on the order of the objects in the worksheet. Index values begin at 0. For example, if you insert two images into the worksheet before you insert a graph, the index value for the graph is 2.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
—
report out is a reference to the report whose appearance, data, and printing you want to control. You can wire this output to other Report Generation VIs.
error out
—
error out contains error information. This output provides standard error out functionality. |
—
graph index (-1)
—
error in (no error)
—
—
error out
—