Close all Internet Explorer windows

Use directly KillApp statement :

'Kill all the instances of Internet Explorer

KillApp("IEXPLORE.EXE",1)