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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only