Forum Discussion

abishekhari007's avatar
abishekhari007
Champion Level 0
4 years ago
Solved

JavaScript runtime error. ReferenceError: Excel is not defined

I tried to write data in an excel cell using the below code function abc() {   var excelFile = Excel.Open("C:\\temp\\DataStorageExcel.xlsx");   var excelSheet = excelFile.SheetByTitle("Sheet"); ...
  • hkim5's avatar
    4 years ago

    if you are on TestComplete version 14.60 please consider filing for a support ticket, since it sounds like the Excel object is not being recognized. otherwise, the syntax there looks ok, seeing as it is the same as our documentation