rw
13 years agoOccasional Contributor
"The Interface is Unknown" issue reading Excel files
Hi guys.
I am really stumped on this one. With this issue, it's breaking my automation. Basically, when I read in Excel files for testing, quite often TestComplete stops outright with an error saying "The interface is unknown".
Set ExcelCore = Sys.OleObject("Excel.Application")
Set ExcelFile = ExcelCore.Workbooks.Open(tempfile) < - Right here is where it breaks.
I'm on TC 7.52, and upgraded from Office 07 to 10. Sadly, the 10 upgrade didn't help. Any way around this? It's breaking my automation.
I am really stumped on this one. With this issue, it's breaking my automation. Basically, when I read in Excel files for testing, quite often TestComplete stops outright with an error saying "The interface is unknown".
Set ExcelCore = Sys.OleObject("Excel.Application")
Set ExcelFile = ExcelCore.Workbooks.Open(tempfile) < - Right here is where it breaks.
I'm on TC 7.52, and upgraded from Office 07 to 10. Sadly, the 10 upgrade didn't help. Any way around this? It's breaking my automation.