Close excel application
Hi
Try this:
....
excelAppl.Quit
--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )
"neoret" wrote in message
...
I have developed an addin using C#.
I need to close the application from my addin. I tired using the close
method like this:
private Microsoft.Office.Interop.Excel.Application excelAppl = null;
public Microsoft.Office.Interop.Excel.Workbook theActiveExcelWorkbook =
null;
excelAppl = (Microsoft.Office.Interop.Excel.Application)offApp lObject;
theActiveWorkbook = excelAppl.ActiveWorkbook;
this.theActiveWorkbook.Close(false, false, missing);
That does noe work. The code is called but nothing happens. No error
message
or nothing...
Do you have some advice for me on how to make this work.
|