How to kill excel process
foreach (Process p in Process.GetProcesses())
{
if (p.ProcessName == "EXCEL")
{
p.kill()
}
}
i am using above code to kill the excel process..but it returns access denied error..please help me to kill all excel process...its urgent..pls reply..

Sam HobbsPosted Dec 24, 2011, 5:26 AM
Vikrant JadhavPosted Dec 23, 2011, 2:23 AM
Refer the following link
http://stackoverflow.com/questions/5627560/killing-excel-exe-process-from-c-sharp-in-a-windows-service
Thanks & Regards
Vikrant Jadhav
If this post is helpfull to you then mark as a "Correct Answer".