LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"Invalid type library" error when opening Excel via ActiveX

Hi,
I am trying to open Excel via ActiveX (Automation open function), for
instance by running the
build in example "Open Excel and make visible". However, on some computers,
I recieve the error code -2147319784 "Old format or invalid type library".
The problem seems to be that LabView is unable to recognize the ActiveX
control, as it does not appear in the list "Select ActiveX Class". It works
perfecly from Matlab though, so the control seem to be in order. I have also
tried reinstalling Office.
On most computers it works perfectly, but three identical Dell P4 900Mhz
have the same problem.

/Stefan Borg
0 Kudos
Message 1 of 2
(2,710 Views)
This may be happening due to different Excel versions, a vi made to control Excel 97 won't work for Excel 2000 and vice-versa. Be sure you are using the correct activeX calls for each one.
Good luck
0 Kudos
Message 2 of 2
(2,710 Views)