LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Activex Control with Office 2003

Hi,
I have an application where i need to export data to MS Word for reporting purposes. Thing is it works fine with Word 2000, but when i tried it on a Word 2003 system, the 'Table population' code gives me an error. I am reporting a data table, where I show all the results of calculations. any ideas on fixing this one?

anand
0 Kudos
Message 1 of 3
(2,709 Views)
hi..i found out the problem after some debugging...office xp with labVIEW gives an error with the table width property...was saying that the value exceed limits...changed it to 0 and it works...but i dont have a marked table now coz the width is 0. does anybody know the values for these?
anand
0 Kudos
Message 2 of 3
(2,709 Views)
Hi Anand,

Have you tried running one of the sample applications that come packaged with LV 7.1? In particular, try running the example titled "Sample Report (Word).vi". It uses the high level VIs to create a Word Document, including a table that is populated with data. If that works, I would look into comparing that example with your code and see what they have done differently.

Jeremy L.
National Instruments
Jeremy L.
National Instruments
0 Kudos
Message 3 of 3
(2,709 Views)