Close excel

Hi!!

I've a problem. Need close excel when raise an error, but a don't know how can i do it.

can anyone help me

thanks. Regards.




Answer this question

Close excel

  • RankoNS

    thank you very much!!

    it's just all I need. Thanks again.



  • Recep TARAKCIO?LU

    Hi there,

    Will the error be raised in your code

    If so, you can probably put an error handler in the appropriate place and call Application.Quit and this'll close Excel.

    Hope that helps, but sorry if it doesn't and I miss the mark completely.


  • Close excel