Information générale
Catégorie:
Programmation Orientée Object
I tried your code in the command window and it released Excel just fine. Although, the line "loExcel.Application.Quit" seems to be redundant. loExcel.Quit() is enough. Same really with "loExcel = .NULL."
Is the instance of Excel shown on your taskbar open with a workbook, or without one?
Alan
>Tamar,
>this does not help in my case.
>I have:
>
>loExcel=CREATEOBJECT("Excel.Application")
>loExcel.SheetsInNewWorkbook=1
>.........................................
>loExcel.ActiveWorkbook.SaveAs(cName)
>loExcel.ActiveWorkbook.Close
>loExcel.Application.Quit
>loExcel.Quit
>loExcel=.NULL.
>RELEASE loExcel
>But after all Excel still open in the task manager.
>
>helen
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement