Function KillExcelProcess() on error resume Next CreateObject("WScript.Shell").Run "taskkill /f /im excel.exe " CreateObject("WScript.Shell").Run "taskkill /f /im Wscript.exe" End Function
Function KillExcelProcess() on error resume Next CreateObject("WScript.Shell").Run "taskkill /f /im excel.exe " CreateObject("WScript.Shell").Run "taskkill /f /im Wscript.exe" End Function