LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Adding Title to Word Report that it will Default Save-As

Solved!
Go to solution

Bob_Schor a écrit :

Wow, Ben, how do you find these obscure "Feature Reports"?  I'm glad to see that yet another "LabVIEW Failing" is not NI's fault, but is a flaw buried within Microsoft Office ...

 

Bob Schor


Pure luck in this case.

 

Ben

Message 11 of 18
(1,635 Views)

ben64 a écrit :

Have a look at this link.

 

Ben64


Based on the linked document you can replace Word Documents Properties.vi by the modified version attached.

 

Ben64

Message 12 of 18
(1,622 Views)

Could you make that a Labview 2014 file?  I haven't installed 2015 yet because the installer won't recognize my license for the Report Generation Toolkit.  A screenshot might be enough too.

0 Kudos
Message 13 of 18
(1,586 Views)
Solution
Accepted by SmithGo

SmithGo a écrit :

Could you make that a Labview 2014 file?  I haven't installed 2015 yet because the installer won't recognize my license for the Report Generation Toolkit.  A screenshot might be enough too.


Version 2014 attached.

 

Ben64

Message 14 of 18
(1,581 Views)

I wish I could give this more than 1 Kudos.  If you don't mind me asking, where did you get the Word_Get_Properties.vi?  The Help viewer doesn't want to say, and also claims that the vi "Gets the number of worksheets in the active workbook".  It's named like an NI library file, but I couldn't find it.

0 Kudos
Message 15 of 18
(1,567 Views)

Word_Get_Properties is in the Report Generation Toolkit libraries within VI.lib.  To find it, look in vi.lib\addons\_office\_wordsub.llb.  Before LabVIEW 2014, the RGT was an "addon" Toolkit, which (I suspect) is why the Libraries are in the "Addons" folder.  Note that I'm not at all sure why Ben reported out the Table and Shape count ...  Also, I now see that I was "barking up the wrong tree", and totally didn't understand your question.

 

Bob Schor

0 Kudos
Message 16 of 18
(1,560 Views)

Bob_Schor a écrit :

Note that I'm not at all sure why Ben reported out the Table and Shape count ... 

 

Bob Schor


Bob I think you're getting confused with this thread.

 

Ben64

0 Kudos
Message 17 of 18
(1,545 Views)

SmithGo a écrit :

I wish I could give this more than 1 Kudos.  If you don't mind me asking, where did you get the Word_Get_Properties.vi?  The Help viewer doesn't want to say, and also claims that the vi "Gets the number of worksheets in the active workbook".  It's named like an NI library file, but I couldn't find it.


I copied the diagram of Word Document Properties.vi and just changed the macro. That's where Word_Get_Properties.vi came from. But as Bob said you can find it at the location he specified.

 

Ben64

0 Kudos
Message 18 of 18
(1,530 Views)