From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

export string to textbox in MS Word

Is there a way to export data to textboxes in MS Word?  I would like to be able to pull values from Excel (which I can do with the Report Gen. Toolkit) and then export them to designated boxes in Word (Textbox1, etc).
I appreciate anyones help.
Thanks,
Matt
maat
LV2019
0 Kudos
Message 1 of 2
(2,422 Views)
Hey Matt,

There should be a couple of ways to do this.  Both involve creating a template by placing a bookmark in a text box.  The first and easiest would be to use the bookmark as a template with the Report Generation Toolkit and add the information from Excel that way.  The second would be to do basically what the RGT is doing using ActiveX but all yourself.  This way you will have more control over what is actually happening.  It is possible to get ActiveX references to the bookmarks in LabVIEW, which you can use to write the information.

Please let me know if you have any questions!
Andy F.
-----------------------------------------------------------------
National Instruments
Message 2 of 2
(2,394 Views)