David91
9 years agoFrequent Contributor
Unable to retrieve the worksheet list from the specified workbook. - ERROR load Excel
Hi i have problem with load Excel in TestComplete. When i open data excel file pop up dialog with error. ..Unable to retrieve the worksheet list from the specified workbook.... (on picture) Please ...
- 9 years ago
Solution. You must uninstall Windows Update:
Windows7/2008 - KB4041681, KB4041678
Windows 10 - KB4041676
Windows 2012 - KB4041693, KB4041687or:
- Find prior version (4.0.9801.0) of msexcl40.dll.
- Place in another directory. They suggest the application directory, but since in the next step you will modify registry to point to this older version, it can probably go anywhere.
- Update registry key HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Jet\4.0\Engines\Excel\win32 to point to the location from step 2.
To keep your data-driven tests working, use data drivers of the same bitness as TestComplete. For example, if you use ODBC drivers to connect to data sources, then, for TestComplete x64, you must use the 64-bit version of these ODBC drivers. If you read data from Excel sheets or CSV files, you must install the 64-bit version of Microsoft Office 12.0 Access Database Engine OLE DB Provider. Otherwise, you will get an error like “The needed data source driver is not installed or is not configured properly...”. If you have the 64-bit version of Microsoft Office 2010 or later installed on your computer, you might already have this data provider. If not, you will have to download and install it from the Microsoft website. The provider is part of Microsoft Access Database Engine 2010 Redistributable x64: