12-13-2008 09:08 AM
Hello,
What I want to do is to:
1. insert a table in a word document
2. set the width of the 1st column to 2 cm, the width of the 2nd to 6 cm and the width of the 3rd to 3 cm.
3. insert values into specific cells of the table, not in all cells
4. format the text in the cells
5. insert a value in the first cell of the table. There is an empty cell on the top left side if I use headers of the rows and columns.
I
I was successful with 1. I used the microsoft report generation tool, but I could only set one width for all colums.
All the other problems are unsolved.
I also did not succeeded in creating the Microsoft parameters.
I found no way to create it.
Hope somebody knows to solve these problems
Thanks
Rusja
Solved! Go to Solution.
12-13-2008 01:13 PM
Hi rusja,
The attached VI might work to update a specific cell in a Word document - once you've opened the document and obtained the table's reference. To do this you will be using Word's Active X interface, so you'll need Word installed where this application runs.
There are lots of Active X posts on this forum (especially about closing references!!!) and many re: Word, there are also a couple of links in the attached VI.
Note: Word exposes its functionality to other applications through Active X, and any language with Active X tools (like LabVIEW) can use Word. This means that there's a huge amount of ActiveX/Word help/experience/examples on the web, that will apply to your use of Word via LabVIEW.
Have Fun!
Cheers.
12-17-2008 03:31 AM
Thanks,
I have downloaded a lot of files and tutorials. I will work them out.
Rusja