ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Excel.exe is not Closing (https://www.excelbanter.com/excel-programming/346522-excel-exe-not-closing.html)

Inthi

Excel.exe is not Closing
 
Hi,
I am using VC++ for Excel Automation using Type library Excel9.olb
My problem is,I am openning an Large Excel file (about 4000 rows and 150
columns of data) using CWorkbooks - Open then I am closing the work book
using
Close and release dispatch then I am using CApplication - Quit and Release
dispatch to quit the excel application, still the excel.exe will be running
in the task manager.
If I try to Open a small file say about 5 rows and 10 columns it is closing
successfully.
I also tried the application running it in the foreground by using
CApplication - put_visble(true) the application will close but still I find
excel.exe running in the task manager.
Note: I have used Release Dispatch and also made the Object = NULL where
ever necessary

Can you please provide a solution for my problem
In Anticipation of your reply..

Regards,
Inthiqab



All times are GMT +1. The time now is 05:02 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com