Closing Excel Application

G

Guest

Hi,
I am Using Excel 2000 and VC++ 7.0
I am Appending large data to an Excel Sheet (using Excel Automation)
after saving the excel workbook, I used CApplication - Quit() to close the
Excel Application. But When I look into Task Manager I still find Excel.exe
running.
I have used ReleaseDispatch and also remove all the references.
How do I Quit My Excel.exe?

Thanks
 
H

Harald Staff

Hi

This often happens when Excel is asking you something that you haven't taken
properly care of, typically "save changes ?". Set the Excel instance's
visibility to true and see if it reveals anything.

HTH. best wishes Harald
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top