ā05-28-2008 08:27 AM
ā05-28-2008 09:41 AM
ā05-29-2008 01:24 AM
ā05-29-2008 03:50 AM
ā06-24-2008 04:04 AM
Hi all. I have almost the same problem again, but now I canāt tackle it for the moment.
I created this vi which is part of another vi, and it does this:
It creates a new excel at the first run, name it month.xls (June, July etc.) and it renames the worksheet according to the date e.g. 25 June 2008. It closes all refnums and applications. Then in 20 seconds (for debug reasons) it checks the date. If the PC clock is set to another date it checks the month if itās the same it adds another worksheet to the previous excel, if its another month it creates a new excel and so on. If anyone wants to run it he has to change the date in this 20 seconds that the loop waits.
Problem: Excel stays in memory and you have to kill it from Task manager to open the created excel. I canāt see the problem since I close all references and quit the application at the end. I post this question if anyone wishes to help. Thank you very much in advance guys.
PS. LV7.1 MS Excel 2000 (with service packs).
Cheers
Yiannis
ā06-24-2008 06:02 AM
ā06-24-2008 06:14 AM
Mike hi, thanks for the response.
You get this error because you have to change the date in the 20 sec wait of the loop...This vi is planned to run once a day, but for debug reasons I used a 20 sec while loop..
If you change your PC clock during the 20 sec interval, there is no error...
Thanks for trying mate...
ā06-25-2008 01:22 AM - edited ā06-25-2008 01:23 AM
ā06-25-2008 01:55 AM
Mike thanks for the response...
I have LV7.1 and I can't open your vi..If someone can convert it please..?
Thanks again
ā06-26-2008 03:26 AM
Please guys lv8 to lv7.1????
Thanks...