"Excel 7.0;" Is an Invalid Database Type in DAO (141788)
The information in this article applies to:
- Microsoft Excel 97 for Windows
- Microsoft Excel for Windows 95
This article was previously published under Q141788 SYMPTOMS
In Microsoft Excel, when you use the OpenDatabase method or the Connect
property, if you use "Excel 7.0;" for the database type, you may receive
the following error message:
Run-time Error '3170'
Couldn't find installable ISAM
Note that the Microsoft Excel 7.0 Help topic for the Connect property
indicates that "Excel 7.0;" is a valid database type specifier. This
information is incorrect.
WORKAROUND
To use data from a Microsoft Excel 7.0 workbook with Data Access Objects
(DAO), use "Excel 5.0;" for the database type. For example:
Set DB = OpenDatabase ("C:\XL7FILE.XLS", False, False, "Excel 5.0;")
You can use "Excel 5.0;" for the database type for both Microsoft Excel 5.0
and 7.0 files because these versions share the same file format. Also, DAO
uses the same installable ISAM to access both versions of Microsoft Excel.
To use data from a Microsoft Excel 97 workbook with DAO, use "Excel
97;" for the database type.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kberrmsg kbprb KB141788 |
---|
|