Bilbo_Baggins_Esq
Registered User.
- Local time
- Yesterday, 22:15
- Joined
- Jul 5, 2007
- Messages
- 586
I am trying to get data from one XLSX to an XLSM file.
Running Excel 2010 (x86) on Windows 7 (x64)
I have this connection string:
The trouble is, at run time when I execute the line "adoConnection.Open" it throws the following error:
Microsoft Visual Basic
Run-time error '-2147467259 (80004005)':
Could not find installable ISAM
When i search Bing for the error number I'm finding nothing applicable to Excel with Excel and when I search for the message all I find has to do with earlier versions of Excel and an older Jet error.
Is there something missing or incorrect about the connection string?
Can somebody please show a sample set of code for VBA to connect one Excel file to another Excel file?
Running Excel 2010 (x86) on Windows 7 (x64)
I have this connection string:
Code:
Public adoConnection As ADODB.Connection
Sub GetAgentRS()
Set adoConnection = New ADODB.Connection
adoConnection.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;" & _
"data Source= C:\DataTesting\DataSource.xlsx;" & _
"Extended Properties=\Excel 12.0;"
adoConnection.Open
End Sub
Microsoft Visual Basic
Run-time error '-2147467259 (80004005)':
Could not find installable ISAM
When i search Bing for the error number I'm finding nothing applicable to Excel with Excel and when I search for the message all I find has to do with earlier versions of Excel and an older Jet error.
Is there something missing or incorrect about the connection string?
Can somebody please show a sample set of code for VBA to connect one Excel file to another Excel file?