Example Program Drafts

Showing results for 
Search instead for 
Did you mean: 

Insert Image in Microsoft Word Table Using LabVIEW

by Member Austin_S on ‎09-06-2011 08:43 AM


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.


1. Save the image you want to insert into a Word table cell as a .jpeg, .bmp, .png, .gif, or .tif file.

2. Select this file path using the File Path Control on the VI front panel.

3. Run the VI.

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.


LabVIEW 2010 SP1

LabVIEW Report Generation Toolkit