Overview
This an example to insert an image into the table cells of a new Microsoft Word document using the LabVIEW Report Generation Toolkit.
Description
Using the LabVIEW Report Generation Toolkit, we can add a table into a new Microsoft Word document by using the New Report VI and the Append Table to Report VI. However, this appears to only allow a user to enter text into the created table cells. If a user wants to insert an image into one of these cells instead, there is a way to do this using the Word Edit Cell VI and using a File Path Control to specify the path of a saved image.
Requirements
Steps to Implement or Execute Code
To adjust which cell into the table is being inserted, edit the Start (0,0) terminal of the Word Edit Cell VI to change the desired row and column for the image.
Additional Information or References
VI Snippet
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.