Results 1 to 2 of 2

Thread: [2.0] Close excel?

  1. #1

    Thread Starter
    Hyperactive Member Arrow_Raider's Avatar
    Join Date
    Dec 2001
    Location
    AVR Lovers Club
    Posts
    423

    [2.0] Close excel?

    I am automating excel (by adding a COM reference to excel) in my .net application. I can't figure out how to close my instance of the excel application.
    I have created the excel instance with the following line:
    Excel.Application excelApp = new Excel.ApplicationClass();

    Once I'm done with excelApp, I need to close it. How do I do this?
    My monkey wearing the fedora points and laughs at you.

  2. #2
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: [2.0] Close excel?

    I am not sure about this, but it should be excelApp.Quit(); (or maybe Close() or similar).
    Show Appreciation. Rate Posts.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width