How to Close Word Using the Report Generation Toolkit for Office.

Updated Oct 30, 2019

Reported In

Software

  • LabVIEW
  • LabVIEW Report Generation Toolkit

Other

Microsoft Office Word

Issue Details

Im using LabVIEW Report Generation toolkit for Office in order to create a Word document. I would like to close Word after it finishes. How to do it?
 

Solution

In order to close Word using the Report generation VIs, you will need to use the Dispose Report VI located in the Report Generation palette. 
Be sure that the close report? input will be TRUE, even if the default is TRUE, which specifies to close the report file. 
   
This VI closes the report and releases its interface, which saves memory.