Forum Discussion
GavinHenderson
Oct 28, 2024Copper Contributor
Excel VBA write to Sharepoint list - error "Could not find installable ISAM"
Hi all,
I am trying to write to a Sharepoint list from Excel VBA, I've been attempting to connect as an ADODB
When I attempt to open the Connection I receive the error "Could not find installable ISAM", would anyone have any guidance on what I am doing wrong, here is a snippet of the code.
(How do I know if I am using the correct settings string values?)
--
Dim sListID$, sPathDB$
Set cnt = New ADODB.Connection
Set rst = New ADODB.Recordset
mySQL = "SELECT * FROM " & sListID & ";"
With cnt
.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;WSS;IMEX=0;RetrieveIds=Yes;" _
& "DATABASE=" & sPathDB & ";LIST=" & sListID & ";"
End With
With cnt
.Provider = "Microsoft.ACE.OLEDB.12.0"
.ConnectionString = "Data Source=" sPathDB & ";LIST=" & sListID & ";"
.Open
End With
--
Sample example I found transfer-excel-data-from-ado-recordset
Any guidance greatly appreciated
- WyattCrosbyIron Contributor
By ensuring the correct connection string format and confirming that you have the necessary permissions and drivers, you should be able to eliminate the "Could not find installable ISAM" error and successfully connect to your SharePoint list.
- AldenGroveIron Contributor
Ensure that you have the correct version of the Microsoft Access Database Engine installed. The 2010 version is often used:
1. For 32-bit version of Excel, install the 32-bit version of the Access Database Engine.
2. For 64-bit version of Excel, install the 64-bit version of the Access Database Engine.
3. Ensure you don’t have both installed simultaneously in a conflicting manner.