473,706 Members | 6,593 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Installable ISAM error when linking excel table into Access

I'm using Access 2003 and Excel 2003. All I'm trying to do is bring a
sheet from an Excel file (defined by the user) into Access as a table,
I dont care if it's linked or imported. However, I get an error: "Run
time error 3170. Could not find installable ISAM." I am able to import
and link Excel tables using the Access menu. Here is the part of my
code that's causing the error:

Set db = CurrentDb

'Get file name
strImportFile = [Forms]![fm_Import]![txtFile].Value

Set tblImportTable = db.CreateTableD ef("FLOWIMPORT" )
With tblImportTable
..Connect = "Excel 11.0;HDR=YES;IM EX=2;DATABASE=" + strImportFile
..SourceTableNa me = "INFLOW$"
End With
db.TableDefs.Ap pend tblImportTable

Can anyone help?

Nov 13 '05 #1
0 1863

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Karl Irvin | last post by:
In the module below, I get a "Could not find installable ISAM" error on the tdf.refresh link. The NewConnection refers to a valid database/table. My References include VBA, Access 9.0 Object Library, DAO 3.6, OLE and VBA Extensibility 5. Do I need some other reference or ??
by: DBQueen | last post by:
I received a "Could Not Find Installable ISAM" error (#3170) when using Docmd.TransferDatabase to export a table from one database to another - Set wrkDefault = DBEngine.Workspaces(0) DBEngine.CreateDatabase strFileName, "c:\Database\" DoCmd.TransferDatabase acExport, "Microsoft Access", _ "C:\database" & strFileName, acTable, "tblBatchTEMP", _ "tblBatchARCHIVE" I suspect this is due to having just upgraded my version of Access2000...
by: Horst Walter | last post by:
I am using C# / ADO.NET to create an Excel sheet: This connection string works: "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + filename + ";" + "Extended Properties=Excel 8.0;"; This connection string DOES NOT: .... "Extended Properties=Excel 8.0;HDR=YES;"; => Error: Could not find installable ISAM
by: Robert Lawson | last post by:
I continue to get the below error message when trying to load a aspx file. Could someone please point me in the right direction for solving this? I'm trying to access an access data base and I'm the only one accessing it at this time. I'm trying to learn this step by step and I'm at the begining of ADO stuff. Server Error in '/' Application. ------------------------------------------------------------------------ --------
by: Roger Twomey | last post by:
I have a form that allows a user to upload a microsoft Excel Spreadsheet. (I am testing with one created in Excel 2000) The spreadsheet is uploaded correctly. It is then supposed to be read and display in a datagrid. When the code executes I get: System.Data.OleDb.OleDbException: Could not find installable ISAM
by: ibeetb | last post by:
When using ADO.NET, here is my code to bring in a table from EXCEL: Dim sConnectionString As String = "Provider=Microsoft.Jet.OLEDB.4.0;" _ & "Data Source=C:\Inetpub\wwwroot\ExcelData.xls;" _ & "Extended Properties=Excel 11.0;" When it tries to OPEN my connection, I receive the following error: COULD NOT FIND INSTALLABLE ISAM!
by: Job Lot | last post by:
i am querying excel file as follows Dim conn As New OleDbConnection("provider=Microsoft.Jet.OLEDB.4.0; " & _ "data source='" & "C:\Temp\SSPortfolio.xls" & " '; " & _ "Extended Properties=Excel 8.0;" & "HDR=Yes;" & "IMEX=1") '! Select the data from Sheet1 of the workbook.
by: sdc248 | last post by:
Hi: I got an error message when I am trying to have a stored procedure import a table from an excel file. It's a SQL Server 2005 and I have enable the Ad Hoc Distributed Queries option. The query I am testing is as below: SELECT * FROM OPENDATASOURCE('Microsoft.Jet.OLEDB.4.0', 'Data Source=S:\myfile.xls;Extended Properties=Excel 11')...TEST$ The error message: OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "(null)"...
Walt in Decatur
by: Walt in Decatur | last post by:
I'm trying to use this method to copy an range in Excel workbook that is closed to the one that's open. I'm using the following code, which gets the "Can't find installable ISAM" error when I get to the line "cnt.Open". My Windows files (various .dll) are up to date, so there is some other hitch in there. Sub Get_Data_Closed_Workbooks() Dim cnt As ADODB.Connection Dim cmd As ADODB.Command Dim stCon As String, stSQL As String...
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.