Kill Excel Object


Snippet Details

Shortcut
KillExcelObject
Description
Code snippet for killing a Excel interop object.
Language
csharp
Types
Expansion
Author
Sameer Sayani
Upload on
15-2-2014 17:21:44
Downloads
2154

Code Output

        foreach (Process clsProcess in Process.GetProcesses())if (clsProcess.ProcessName.Equals("EXCEL"))  //Process Excel?clsProcess.Kill();
    

Download Add to .VSIX Package


comments powered by Disqus

Extension Package

No snippets are added


Languages