05-31-2006 03:04 PM
06-01-2006 02:40 PM
06-02-2006 07:49 AM
06-05-2006 02:30 PM
06-06-2006 07:52 AM
06-07-2006 02:07 PM
Kenny,
I see what you're saying. Thanks for clarifying. It looks like you're calling Application.quit at the end of your program. Do you notice Excel closing before the rest of your program continues?
Also, there are some great example programs in the LabVIEW help (help>>find examples).
I did find two reference you aren't closing (although I don't think it will make a difference). in the excel used range.vi, you have a range.count (reference to columns) that isn't closed. Also in exel read data.... you have a range.value (reference to cells) that isn't closed. Again, I don't think this will make a difference but I may be wrong.
Chris C
06-07-2006 03:49 PM
I modified my vi after looking over the excel example. I tried to copy it as much as I could, but I seem to have missed something again. I made sure that all of the references were closed, but it still leaves excel.exe running.
I am dumbfounded as to where the problem is.
it does make it visible and not visible, passing no errors through the vi, but it appears to not quit (although there is not error through the application quit invoke node)
I ran the excel example and it does open excel.exe and then close it.
Kenny
06-08-2006 12:08 PM
06-08-2006 12:37 PM
I was able to resolve the issue. I modified a vi i found on the forums.
The vi does not use the activesheet property node.
thanks for your help.
Kenny
06-09-2006 11:44 AM