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
2/15/2014 5:21:44 PM
Downloads
679

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