Set ws = CreateObject("Wscript.Shell") ws.run "taskkill /f /im iexplore.exe",vbhide Set ws = nothing