General information
Category:
Object Oriented Programming
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
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