LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I read data from an MS Word table?

All the examples I've found have been for writing data to a report.
I'm trying to get data *from* a Word document.  (In particular, a table within a document)
 
Pointers to example(s) appreciated.  Thanks !!
 
 
0 Kudos
Message 1 of 2
(3,290 Views)
Hi KKH,

First off, I wanted to mention that the way LabWindows/CVI talks to Microsoft Word is done through ActiveX.  The Microsoft Word shipping examples that come with LabWindows/CVI are built using an ActiveX generated wrapper around the Microsoft Word 2000 Automation Server (9.0).  Now of course, we didn't include all the Microsoft Word methods and properties so if you find that you are missing something, you will need to generate your own wrapper via the ActiveX Controller Wizard.  Also, as later versions of Microsoft Word come out, if you decide you would like to use the some of the newer methods and properties, you might need to regenerate the wrappers.

In order to read data from the Microsoft Word table, you will need to use some additional functions in the Microsoft Word object model.  You can find more information about object model documentation  on Microsoft.com at How to find and use Office object model documentation.  You will need to refer to this documentation in order to determine how to read from a Microsoft Word table as we do not have any examples that do this out of the box.
0 Kudos
Message 2 of 2
(3,275 Views)