02-20-2016 10:10 AM
02-20-2016 10:33 AM
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
02-21-2016 12:35 PM
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.
02-21-2016 12:40 PM
02-21-2016 01:05 PM
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.
02-21-2016 01:24 PM
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
02-21-2016 02:34 PM
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
02-21-2016 02:39 PM
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