Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automation and Excel
Message
 
À
06/02/2003 08:42:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00749786
Message ID:
00749842
Vues:
20
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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform