11-11-2008 10:22 AM
Hi,
I'm trying to programaticaly change some cells of a specific worksheet and then saving it on a new file.
But I can't run the VI because I get the error Open Specific WorkBook.vi: subVI is not executable.
I've atteched a printscreen of my VI.
Any hints?
Daniel Coelho
Solved! Go to Solution.
11-11-2008 11:12 AM
Are you able to open up the subVI that is not executable to see what errors it may have?
Since this is working with Excel, and it's ActiveX based. I am guessing that the ActiveX implementation isn't exactly matching in the subVI from whatever PC it was written on compared to your PC. Such as a different version of Excel between the two PC's is being used.
11-11-2008 11:25 AM
11-11-2008 12:27 PM
That screenshot doesn't provide any more real information than the picture in your first post.
If you click on the broken run arrow, what does it say?
The problem will probably be in one or more of those subVI's (open excel, open book, open sheet, cell value, ...)
11-11-2008 12:41 PM
I'm sorry if I'm not being clear.
The error list only says:
SubVI 'Open Specific WorkBook.vi': subVI is not executable.
11-11-2008 01:34 PM
Okay. I see now. I missed the part that open specific workbook was the same subVI as "Open Book".
Are you saying that you get the same error message even when you click on the broken run arrow within the subVI?
Try right clicking on the Excel._Application control reference in the subVI. Pick Select ActiveX class. What does that point to?
11-12-2008 01:33 AM
Hello...
Try to provide "error in(no error)" to the input of "open excel"... Just try it... 🙂
Best luck.. 🙂
11-12-2008 03:19 AM
The subVI Open Specific WorkBook.vi (Open Book) has the error:
Invoke Node: contains unwired or bad terminal.
The control reference points to Excel._Application.
These subVIs are from ...\LabVIEW\examples\comm\ExcelExamples.llb. I am using them as they are, I've not changed a thing.
11-12-2008 03:28 AM
I'm not sure I understand your line of thougth.
The error cluster is connected.
11-12-2008 03:50 AM