LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Resume Word Report

I am currently having problems opening a Microsoft Word document in LabView. I currently have "lab reports" on my computer that were created from a different LV program. I want to open these Word documents in Labview and "resume" these documents by appending a new report to them.  Both the saved reports and new reports will have multiple pages of tables/graphs on each page.

I haven't started programming the rest of the project, as I am currently stuck on how to open/append a microsoft word document in Labview to alter. I tried using the Microsoft Insert Object vi, but this method inserts 1 (and only 1) page as an object and appends it to another report.


Any help would be appreciated!

0 Kudos
Message 1 of 9
(3,162 Views)
Are you using Report Generation Toolkit or ActiveX with your Word doc?
0 Kudos
Message 2 of 9
(3,142 Views)
ActiveX
0 Kudos
Message 3 of 9
(3,123 Views)

Do you want to add text to the existing report?

If so append object is not the way to proceed.

 

You can use ActiveX to include your text at a given location within Word and at the same time format the text.

There should be an example floating somewhere in the forum.

 

R

0 Kudos
Message 4 of 9
(3,120 Views)
The report has text, images, and tables.  And you are correct, the Insert Object vi inserts the first page as an object.  Currently I'm trying to figure out if I can get all the contents of the document and append it to another document (also which has multiple pages).
0 Kudos
Message 5 of 9
(3,116 Views)

It's been a while since I've done this. 

 

From what I can remember, you may need to add / append your text, image(s) and table(s) in three different steps as they are not a common object. 

 

Otherwise it will add everything as a single image object which is not text for the text portion..  You already know that since you're posting the question. 😉

0 Kudos
Message 6 of 9
(3,101 Views)
Haha, indeed.  I was hoping you wouldn't say append them all seperately.  I suppose if this is the final method, I have no choice.  I'm still toying with it with no success (I'll post something when I run into a step towards the right direction). Any other suggestions? 
0 Kudos
Message 7 of 9
(3,097 Views)
I don't think there is any other way...
0 Kudos
Message 8 of 9
(3,082 Views)
This has been cross-posted on LAVA.
0 Kudos
Message 9 of 9
(3,073 Views)