LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple page word doc from single page template?

Hi,

 

I'm working on a system which needs to generate a detailed report of multiple findings, ideally in MS Word. Each finding would have a page in the report and the format of all of these would be identical. Is it possible to use a word template repeatedly in one document to do this? I've looked at the tutorial on using a word template and the labview toolkit but this assumes each datum to be inserted has a unique bookmark name in the document.

 

Thanks for any help

Mike 

0 Kudos
Message 1 of 3
(3,528 Views)

I have done this with Excel not Word.

I created an Excel file with one sheet instead of the default three sheets, and make that sheet the Master.

0 Kudos
Message 2 of 3
(3,524 Views)

How are you going to insert the data into the template without using the bookmark names? The bookmarks indicate the location that the data is going to be inserted. You could create a template that is multiple pages long and on each page is an identical template, with bookmark names like "voltageinput1", "voltageoutput1" on page one, and  "voltageinput2", "voltageoutput2" on page two, etc.

 

Alternately you could try using ActiveX for Word. You can use the Word Get ActiveX References.vi to gain access to the various objects that you can manipulate in ActiveX. You can do just about anything with ActiveX and Word, which makes it much more complicated as well.

Colden
0 Kudos
Message 3 of 3
(3,502 Views)