Forum Discussion

shmuel's avatar
shmuel
New Contributor
9 years ago
Solved

Excel DDT

In order to work with excel DDT, must I install official Microsoft office?

 

I wrote a code using DDT. It workes fine on a computer with Office installation. I'm getting run time error on a PC without Office. 

  • :cathappy:I found the bug.

    I forgot to add parameter true to the driver creation.

    "driver = DDT.ExcelDriver(file, name, true)"

3 Replies

    • shmuel's avatar
      shmuel
      New Contributor

      I installed the ACE, (according to: ) looked at the registry - it seems OK.

      I'm still getting error: "JScript run time error" !!!

      It falls on the line: "driver = DDT.ExcelDriver(file, name)".

       

      I created a var to the excel sheet. When i'm editing the "sheet" using TC editor, the editor opens the sheet and recognizes the rows and column with no problem.

       

      • shmuel's avatar
        shmuel
        New Contributor

        :cathappy:I found the bug.

        I forgot to add parameter true to the driver creation.

        "driver = DDT.ExcelDriver(file, name, true)"