You need to write Javascript
var Excel = new ActiveXObject("excel.application");
Excel.Visible = true;
Excel.Workbooks.Add();
alert( Excel.version );
Excel.Quit();
Excel = null;
//ActiveXObject support only in IE
if you get error like "
Automation server can't create object" then
check this[
^]