09-25-2015 06:31 AM
Hello all !
I am trying to write values in a word table containing formfields. My Vi is working fine ecept of one fact :
- The formfields are erased when a value is written.
Is there any method in the toolkit "report generation" that allows to write in formfields ?
I made an example VI to show you my problem
Thanks in advance for your answers
Thibaud
Solved! Go to Solution.
09-25-2015 06:22 PM
ThibaudP a écrit :
Hello all !
I am trying to write values in a word table containing formfields. My Vi is working fine ecept of one fact :
- The formfields are erased when a value is written.
Is there any method in the toolkit "report generation" that allows to write in formfields ?
I made an example VI to show you my problem
Thanks in advance for your answers
Thibaud
First, what you have are not formfields but ContentControl objects. When you use Word Edit Cell.vi you are replacing the actual content of the cell (the ContentControl object) by plain text. What you need to do is to edit the text property value of the range of the ContentControl object that is contained in the cell.
There is no Report Generation Toolkit vi that can do it. What you can do is to get the table activeX reference from the Word Get ActiveX References.vi and do as in the following code snippet.
Ben64
02-28-2023 07:56 PM
How do I find that object in the pellet, right behind the ActiveX Word object?
03-01-2023 07:08 AM
03-01-2023 05:44 PM
Thanks found it. I am new to labview. What exactly is the difference between property and invoke node? To me they look like very similar functions, and I am not too sure what distinguishes them.