I'm in the process of converting some VBScript to JavaScript, but I'm unsure if it's feasible due to its reliance on Microsoft apps and code. I am seeking assistance with either: a) converting the code to JavaScript successfully, or b) determining that the conversion is not currently feasible.
The VBScript statements that I find to be too specific to Microsoft are:
set oExcel = CreateObject("Excel.Application")
set oBook = oExcel.Workbooks.Add
oBook.HTMLProject.HTMLProjectItems("Sheet1").Text = sHTML
oBook.HTMLProject.RefreshDocument()
oExcel.Visible = True
oExcel.UserControl = True
Has anyone managed to integrate JavaScript and Excel effectively to find a viable solution?