Excel won't quit.

  • Thread starter Thread starter Henry Padilla
  • Start date Start date
H

Henry Padilla

I have a class that has a member variable for the Excel application object.

I use the object to open a file and do a Workbooks(1).SaveAs ()
I set Workbooks(1).Saved = True
Then I do Workbooks.Close()

In the Finalize method I do a Application.Quit()

Problem is it never leaves memory. When I look in Task Manager, it's still
there.

How do I actually get Excel to quit?

Henry Padilla
 
Henry Padilla said:
I have a class that has a member variable for the Excel application object.

I use the object to open a file and do a Workbooks(1).SaveAs ()
I set Workbooks(1).Saved = True
Then I do Workbooks.Close()

In the Finalize method I do a Application.Quit()

Problem is it never leaves memory. When I look in Task Manager, it's
still
there.

PRB: Office Application Does Not Quit After Automation from Visual Studio
..NET Client
<URL:http://support.microsoft.com/?scid=kb;EN-US;317109>
 

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

Back
Top