title: How to open a local excel sheet for editing on button click in electron?
body: <p>I am using electron for developing an application in which I need to open a local excel file on button click</p>
  
  <pre><code>&lt;html&gt;
        &lt;script type="text/javascript"&gt;
        function test() {
        var Excel = new ActiveXObject("Excel.Application");
        Excel.Visible = true;
        Excel.Workbooks.Open("C:/Users/Lenovo/.electron/test.xlsx");
       }
       &lt;/script&gt;
  
       &lt;body&gt;
  
           &lt;form name="form1"&gt;
           &lt;input type=button onClick="test();" value="Open File"&gt;
           &lt;br&gt;&lt;br&gt;
           &lt;/form&gt;
  
       &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>The button click in this code does not work in electron.</p>