How to fix vba cannot find installable isam error











up vote
0
down vote

favorite












I have a connection string that uploads a range of cells to my sharepoint list. Today someone was unable to use this feature and received an error when running the macro. The error was Cannot Find Installable ISAM. The person is running Office 2013, I am using Office 365 / Excel 2016. Not sure if this is due to the connection string not being made for older versions of Office. I blocked off my company's name in my string. .Open is being highlighted for the error. Any help would be appreciated. Here is my code:



Public Sub update_SP()
Dim cnt As ADODB.Connection
Dim rst As ADODB.Recordset
Dim mySQL As String

Set cnt = New ADODB.Connection
Set rst = New ADODB.Recordset

mySQL = "SELECT * FROM [opsmangement] WHERE [branch]= '" & Sheet18.Range("A10").Value & "'"

On Error GoTo errorhndlr

With cnt
.ConnectionString = _
"Provider=Microsoft.ACE.OLEDB.12.0;WSS;IMEX=0;RetrieveIds=Yes;DATABASE=http://companyname.us.company-dns.com/sites/portvanregion/downtown/;LIST={51B3D896-995F-461F-BDB8-F8DB41128229};"
.Open
End With

rst.Open mySQL, cnt, adOpenDynamic, adLockOptimistic
rst.Fields("branch") = Sheet18.Range("A10").Value
'rst.Fields("declined") = Sheet18.Range("A11").Value
rst.Fields("cashbox exposures") = Sheet18.Range("A12").Value
rst.Fields("exposures to date") = Sheet18.Range("A13").Value
rst.Fields("exposures percentage") = Sheet18.Range("A14").Value
rst.Fields("cashbox cashcounts") = Sheet18.Range("A15").Value
rst.Fields("cashcounts to date") = Sheet18.Range("A16").Value
rst.Fields("cashcounts percentage") = Sheet18.Range("A17").Value
rst.Fields("coin machine test") = Sheet18.Range("A18").Value
rst.Fields("negotiables") = Sheet18.Range("A19").Value
rst.Fields("compliance") = Sheet18.Range("A20").Value
rst.Fields("loan exceptions") = Sheet18.Range("A21").Value
rst.Fields("cash tracker") = Sheet18.Range("A22").Value
rst.Fields("ops grade") = Sheet18.Range("A23").Value
rst.Fields("district") = Sheet18.Range("A9").Value

'rst.Fields("Actual") = rst.Fields("Actual") + 100

rst.Update

If CBool(rst.State And adStateOpen) = True Then rst.Close
Set rst = Nothing
If CBool(cnt.State And adStateOpen) = True Then cnt.Close
Set cnt = Nothing
MsgBox "I have uploaded your new results"
Exit Sub
errorhndlr: MsgBox "I wasn't able to upload your numbers for you, I have created an email with your updated numbers that you can send"
emailtable
End Sub









share|improve this question






















  • stackoverflow.com/a/10714048/1188513 - try surrounding the DATABASE argument with single quotes. Also verify if the registry has the necessary keys: support.microsoft.com/en-ca/help/209805/…
    – Mathieu Guindon
    Nov 20 at 21:52

















up vote
0
down vote

favorite












I have a connection string that uploads a range of cells to my sharepoint list. Today someone was unable to use this feature and received an error when running the macro. The error was Cannot Find Installable ISAM. The person is running Office 2013, I am using Office 365 / Excel 2016. Not sure if this is due to the connection string not being made for older versions of Office. I blocked off my company's name in my string. .Open is being highlighted for the error. Any help would be appreciated. Here is my code:



Public Sub update_SP()
Dim cnt As ADODB.Connection
Dim rst As ADODB.Recordset
Dim mySQL As String

Set cnt = New ADODB.Connection
Set rst = New ADODB.Recordset

mySQL = "SELECT * FROM [opsmangement] WHERE [branch]= '" & Sheet18.Range("A10").Value & "'"

On Error GoTo errorhndlr

With cnt
.ConnectionString = _
"Provider=Microsoft.ACE.OLEDB.12.0;WSS;IMEX=0;RetrieveIds=Yes;DATABASE=http://companyname.us.company-dns.com/sites/portvanregion/downtown/;LIST={51B3D896-995F-461F-BDB8-F8DB41128229};"
.Open
End With

rst.Open mySQL, cnt, adOpenDynamic, adLockOptimistic
rst.Fields("branch") = Sheet18.Range("A10").Value
'rst.Fields("declined") = Sheet18.Range("A11").Value
rst.Fields("cashbox exposures") = Sheet18.Range("A12").Value
rst.Fields("exposures to date") = Sheet18.Range("A13").Value
rst.Fields("exposures percentage") = Sheet18.Range("A14").Value
rst.Fields("cashbox cashcounts") = Sheet18.Range("A15").Value
rst.Fields("cashcounts to date") = Sheet18.Range("A16").Value
rst.Fields("cashcounts percentage") = Sheet18.Range("A17").Value
rst.Fields("coin machine test") = Sheet18.Range("A18").Value
rst.Fields("negotiables") = Sheet18.Range("A19").Value
rst.Fields("compliance") = Sheet18.Range("A20").Value
rst.Fields("loan exceptions") = Sheet18.Range("A21").Value
rst.Fields("cash tracker") = Sheet18.Range("A22").Value
rst.Fields("ops grade") = Sheet18.Range("A23").Value
rst.Fields("district") = Sheet18.Range("A9").Value

'rst.Fields("Actual") = rst.Fields("Actual") + 100

rst.Update

If CBool(rst.State And adStateOpen) = True Then rst.Close
Set rst = Nothing
If CBool(cnt.State And adStateOpen) = True Then cnt.Close
Set cnt = Nothing
MsgBox "I have uploaded your new results"
Exit Sub
errorhndlr: MsgBox "I wasn't able to upload your numbers for you, I have created an email with your updated numbers that you can send"
emailtable
End Sub









share|improve this question






















  • stackoverflow.com/a/10714048/1188513 - try surrounding the DATABASE argument with single quotes. Also verify if the registry has the necessary keys: support.microsoft.com/en-ca/help/209805/…
    – Mathieu Guindon
    Nov 20 at 21:52















up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have a connection string that uploads a range of cells to my sharepoint list. Today someone was unable to use this feature and received an error when running the macro. The error was Cannot Find Installable ISAM. The person is running Office 2013, I am using Office 365 / Excel 2016. Not sure if this is due to the connection string not being made for older versions of Office. I blocked off my company's name in my string. .Open is being highlighted for the error. Any help would be appreciated. Here is my code:



Public Sub update_SP()
Dim cnt As ADODB.Connection
Dim rst As ADODB.Recordset
Dim mySQL As String

Set cnt = New ADODB.Connection
Set rst = New ADODB.Recordset

mySQL = "SELECT * FROM [opsmangement] WHERE [branch]= '" & Sheet18.Range("A10").Value & "'"

On Error GoTo errorhndlr

With cnt
.ConnectionString = _
"Provider=Microsoft.ACE.OLEDB.12.0;WSS;IMEX=0;RetrieveIds=Yes;DATABASE=http://companyname.us.company-dns.com/sites/portvanregion/downtown/;LIST={51B3D896-995F-461F-BDB8-F8DB41128229};"
.Open
End With

rst.Open mySQL, cnt, adOpenDynamic, adLockOptimistic
rst.Fields("branch") = Sheet18.Range("A10").Value
'rst.Fields("declined") = Sheet18.Range("A11").Value
rst.Fields("cashbox exposures") = Sheet18.Range("A12").Value
rst.Fields("exposures to date") = Sheet18.Range("A13").Value
rst.Fields("exposures percentage") = Sheet18.Range("A14").Value
rst.Fields("cashbox cashcounts") = Sheet18.Range("A15").Value
rst.Fields("cashcounts to date") = Sheet18.Range("A16").Value
rst.Fields("cashcounts percentage") = Sheet18.Range("A17").Value
rst.Fields("coin machine test") = Sheet18.Range("A18").Value
rst.Fields("negotiables") = Sheet18.Range("A19").Value
rst.Fields("compliance") = Sheet18.Range("A20").Value
rst.Fields("loan exceptions") = Sheet18.Range("A21").Value
rst.Fields("cash tracker") = Sheet18.Range("A22").Value
rst.Fields("ops grade") = Sheet18.Range("A23").Value
rst.Fields("district") = Sheet18.Range("A9").Value

'rst.Fields("Actual") = rst.Fields("Actual") + 100

rst.Update

If CBool(rst.State And adStateOpen) = True Then rst.Close
Set rst = Nothing
If CBool(cnt.State And adStateOpen) = True Then cnt.Close
Set cnt = Nothing
MsgBox "I have uploaded your new results"
Exit Sub
errorhndlr: MsgBox "I wasn't able to upload your numbers for you, I have created an email with your updated numbers that you can send"
emailtable
End Sub









share|improve this question













I have a connection string that uploads a range of cells to my sharepoint list. Today someone was unable to use this feature and received an error when running the macro. The error was Cannot Find Installable ISAM. The person is running Office 2013, I am using Office 365 / Excel 2016. Not sure if this is due to the connection string not being made for older versions of Office. I blocked off my company's name in my string. .Open is being highlighted for the error. Any help would be appreciated. Here is my code:



Public Sub update_SP()
Dim cnt As ADODB.Connection
Dim rst As ADODB.Recordset
Dim mySQL As String

Set cnt = New ADODB.Connection
Set rst = New ADODB.Recordset

mySQL = "SELECT * FROM [opsmangement] WHERE [branch]= '" & Sheet18.Range("A10").Value & "'"

On Error GoTo errorhndlr

With cnt
.ConnectionString = _
"Provider=Microsoft.ACE.OLEDB.12.0;WSS;IMEX=0;RetrieveIds=Yes;DATABASE=http://companyname.us.company-dns.com/sites/portvanregion/downtown/;LIST={51B3D896-995F-461F-BDB8-F8DB41128229};"
.Open
End With

rst.Open mySQL, cnt, adOpenDynamic, adLockOptimistic
rst.Fields("branch") = Sheet18.Range("A10").Value
'rst.Fields("declined") = Sheet18.Range("A11").Value
rst.Fields("cashbox exposures") = Sheet18.Range("A12").Value
rst.Fields("exposures to date") = Sheet18.Range("A13").Value
rst.Fields("exposures percentage") = Sheet18.Range("A14").Value
rst.Fields("cashbox cashcounts") = Sheet18.Range("A15").Value
rst.Fields("cashcounts to date") = Sheet18.Range("A16").Value
rst.Fields("cashcounts percentage") = Sheet18.Range("A17").Value
rst.Fields("coin machine test") = Sheet18.Range("A18").Value
rst.Fields("negotiables") = Sheet18.Range("A19").Value
rst.Fields("compliance") = Sheet18.Range("A20").Value
rst.Fields("loan exceptions") = Sheet18.Range("A21").Value
rst.Fields("cash tracker") = Sheet18.Range("A22").Value
rst.Fields("ops grade") = Sheet18.Range("A23").Value
rst.Fields("district") = Sheet18.Range("A9").Value

'rst.Fields("Actual") = rst.Fields("Actual") + 100

rst.Update

If CBool(rst.State And adStateOpen) = True Then rst.Close
Set rst = Nothing
If CBool(cnt.State And adStateOpen) = True Then cnt.Close
Set cnt = Nothing
MsgBox "I have uploaded your new results"
Exit Sub
errorhndlr: MsgBox "I wasn't able to upload your numbers for you, I have created an email with your updated numbers that you can send"
emailtable
End Sub






microsoft-excel vba






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 20 at 20:41









Jose Cortez

33




33












  • stackoverflow.com/a/10714048/1188513 - try surrounding the DATABASE argument with single quotes. Also verify if the registry has the necessary keys: support.microsoft.com/en-ca/help/209805/…
    – Mathieu Guindon
    Nov 20 at 21:52




















  • stackoverflow.com/a/10714048/1188513 - try surrounding the DATABASE argument with single quotes. Also verify if the registry has the necessary keys: support.microsoft.com/en-ca/help/209805/…
    – Mathieu Guindon
    Nov 20 at 21:52


















stackoverflow.com/a/10714048/1188513 - try surrounding the DATABASE argument with single quotes. Also verify if the registry has the necessary keys: support.microsoft.com/en-ca/help/209805/…
– Mathieu Guindon
Nov 20 at 21:52






stackoverflow.com/a/10714048/1188513 - try surrounding the DATABASE argument with single quotes. Also verify if the registry has the necessary keys: support.microsoft.com/en-ca/help/209805/…
– Mathieu Guindon
Nov 20 at 21:52

















active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1377099%2fhow-to-fix-vba-cannot-find-installable-isam-error%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1377099%2fhow-to-fix-vba-cannot-find-installable-isam-error%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

AnyDesk - Fatal Program Failure

How to calibrate 16:9 built-in touch-screen to a 4:3 resolution?

QoS: MAC-Priority for clients behind a repeater