Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to kill an excel session
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00297172
Message ID:
00297195
Views:
15
Paul,

tmpsheet = getObject('','excel.application')
xlApp = tmpsheet.application
.
.
.
xlApp.quit
Release xlApp
Release tmpsheet

HTH
Barbara



>i have a vfp program that launces an instance of excel in the background, so i don't even make it visible.
>
>after i close my program, the excel session is still running. it doesn't seem to matter if i reference excel with a variable or an object property.
>
>i can't figure how to close excel???
>
>thanks for any help,
>
>pbd
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform