Purpose Check whether Excel is installed |
Solution Example CallJS
xl = excel_installed JavaScript function // Check whether Excel is installed function excel_installed() { // create shell object for registry access var WshShell = guixt.CreateObject("WScript.Shell"); try { return WshShell.RegRead("HKCR\\Excel.Application\\CLSID\\"); } catch (err) { return ""; }; };
|
Components |