05-23-2008 04:08 PM
05-23-2008 04:17 PM - edited 05-23-2008 04:19 PM
Usually, that would indicate a wrong Active-X class for Excel installed on the target PC.
Curiously... however on the one you initially used.. Did it have Excel at one point? Or maybe you selected a class which is available on the initial PC to develop code, but is not available on the second one. Both being the wrong class...
If your right click on the active-x class reference, choose Select Active-X Class, and browse; do you find the same original class that you had selected initially? However, if you select the correct class, you should then be able to debug the rest of the Property Node.
RayR
05-23-2008 05:00 PM
That's just the thing. This is a VI that came either wither Labview 7.1 or with the Report Generation toolkit. I didn't make, modify or edit this VI at all. I just called it as a SubVI, passing nothing but the error cluster and a refnum (generated by another vi that came with the Report Generation toolkit. I tried to find the properity manually, but could not find it in the listing. I think that once the Toolkit is installed it will add the ActiveX controls it needs to run even if the computer does not have Office or Excel. At least that's the only reason I can think of why it would run on a computer without either. I tried to see where the VI was getting the reference, but the VI that it's generated in is locked and I can't get to the block diagram.
Im thinking that one of the following things is happening.
1. The computer at work has some corrupted Excel data that is blocking the Shapes ActiveX control from loading.
2. Some of the Report Generation toolkit files are corrupted, however, we tried un-installing and re-installing twice now, so that's about ruled out.
or 3. that the work's version of Office has since been updated and the _Worksheet -> Shapes control is now called something else.
If anyone has any insight to this please let me know.
Thanks again.
05-27-2008 12:26 PM
05-27-2008 02:00 PM
05-27-2008 09:54 PM
05-28-2008 06:36 AM
Hi.
Sometimes Microsoft change the functionality of an ActiveX call witout changing the name of the function.
Iv'e seen this with the Workbooks.Open from version 9.0 til ver. 11.0 .
Workaround is to click the bad property/method and select it from the list again. (As stated in the previous post)
Did the trick for me at least.
Good luck