ActiveX Legacy Code not displaying Excel Application window
问题 I have the following legacy javascript code that runs ActiveX in an html report. This code works and displays an Excel sheet on the user's screen filled up with data from my report. //some initialisations here var Excel, Book; // Create the Excel application object. Excel = new ActiveXObject("Excel.Application"); // Make Excel visible. Excel.Visible = true; // Create a new work book. Book = Excel.Workbooks.Add(); //headers[] init here for (var j = 0; j < colCount; j++) { //setting my report