LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Office toolkit errors when upgrading to LV17

Solved!
Go to solution

I am moving a working VI from an outdated LV13/SCXI platform to a LV17/cDAQ platform.  I am getting errors when the office toolkit tries to run the attached code. The error -2147352573, missing member occurs at the second Easy Table vi .

Office toolkit.png

0 Kudos
Message 1 of 5
(1,949 Views)

Do you have Microsoft Office installed on the new platform?  I would doubt it because I don' think a cDAQ could install it.

0 Kudos
Message 2 of 5
(1,937 Views)

The LV13 system has Office 10, the LV17 system has Office 13.

0 Kudos
Message 3 of 5
(1,932 Views)

The change in office version can often cause problems because Microsoft loves to change the underlying activeX calls every version.

 

All I can say is dig deeper into those Report Generation subVI's and see what is causing the error.

0 Kudos
Message 4 of 5
(1,925 Views)
Solution
Accepted by topic author do-loop

Turns out it was Excel that was causing the problem. A blank workbook in Office 2003 has 3 empty sheets.  A blank workbook in Office 2010 has only 1 blank sheet.  Easy Table.vi was trying to insert a table into sheet 2 which did not exist.  I made an Excel template with 3 blank sheets and called it with the New Report.vi and problem solved.

Message 5 of 5
(1,909 Views)