Getting "Java Run time Error" when writing to Excel
Hi, Am trying to write my result back to an excel file. Am using the code as below .But am getting "Java Run time error". Any help here would be really helpful. let Excel = Sys.OleObject("Excel.Application"); var results = Excel.Workbooks.Open("Excel file Path name"); var sheet = results.Sheets.Item("Sheet1"); Excel.Cells.$set("Item" , 0, 18, "Generate Claim Number"); I have also tried sheet.Cells.$set("Item" , 0, 18, "Generate Claim Number"); sheet.Cells.Item(0, 18).Value = "Generate Claim Number";Solved1.4KViews0likes3Comments