1

I am trying to connect MS Excel VBA program to MS access database. While I am trying to access *.mdb files it is working properly in both local drive and share drive. While accessing *.accdb file I am able to connect in local drive. But while trying to connect .accdb file in shared drive i am getting the error as "Could not find installable ISAM".

Here is the code I am trying,

strDBPath = "\\shared drive path\Database.accdb"

Set objConnection = New Connection    

With objConnection
    .ConnectionString = "Provider=Microsoft.Ace.OLEDB.12.0;" & _
        "Data Source=" & strDBPath & ";" & _
        "Persist Security Info=False" & ";" & _
        "PWD=" & pass
        .Open
End With

Please provide a resolution to the query.

Regards, Susanta Kumar Patra

4

0 回答 0