Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automation and Excel
Message
 
To
06/02/2003 08:42:04
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00749786
Message ID:
00749842
Views:
19
I believe, that in your case obook.close() leaves Excel uncertain about whether you want to save or not, and if you have Excel.visible=.t., then it should show the messages waiting for user responce.

Try:

obook.close(.T.)
(and/or oExcel.DisplayAlerts = .f.)

>I am wondering if I am doing something wrong here but I am using automation (thanks to all of you) to extract a large amount of data from Excel.
>At the end of the program I use
>
>obook.close()
>oexcel.quit
>
>I noticed some problems after this. Everything is closed but on the task manager it still shows Excel as a running process. Has anyone else experienced the same thing?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform