mmaniscalco
13 years agoOccasional Contributor
Cannot create Excel Driver after upgrading Office from 2007 to 2010
My company has just upgrade to Office 2010 and it force upgraded me last Thrusday. Since the upgrade I have been unable to execute the following code to connect to an excel spreadsheet.
oReturn = DDT.ExcelDriver(strFile, strSheet, true);
This code work fine the day before, so I'm assuming this is a configuration issue on my side with office. I have confirmed that I do have Office 2010 32bit and not 64bit. I even tried to install Microsoft Access Database Engine for 2010 http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=13255 which I think you need if you don't have office installed.
I have co-workers in another location that have upgraded to 2010, but do not have the same issues.
Where does the DDT.ExcelDriver look for the driver? I'm not sure if it is still looking for the 2007 ACE driver or if when Office 2010 was installed it was put in a different location then it is expected.
I have tried to uninstalled TestComplete, rebooted, and then reinstalled TestComplete but no good.
oReturn = DDT.ExcelDriver(strFile, strSheet, true);
This code work fine the day before, so I'm assuming this is a configuration issue on my side with office. I have confirmed that I do have Office 2010 32bit and not 64bit. I even tried to install Microsoft Access Database Engine for 2010 http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=13255 which I think you need if you don't have office installed.
I have co-workers in another location that have upgraded to 2010, but do not have the same issues.
Where does the DDT.ExcelDriver look for the driver? I'm not sure if it is still looking for the 2007 ACE driver or if when Office 2010 was installed it was put in a different location then it is expected.
I have tried to uninstalled TestComplete, rebooted, and then reinstalled TestComplete but no good.