Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel Applications....
Message
From
24/07/2002 13:01:31
 
 
To
22/07/2002 15:56:35
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00678763
Message ID:
00682141
Views:
23
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
Map
View

Click here to load this message in the networking platform