I've been trying to open a password protected MS Access database from
Excel VBA.
I've been using the following code to open nonm password protected
database with out an issue. Is there an additional perameter that I
need to add?
Here is the partial code:
Set G_Workspace = DBEngine.CreateWorkspace("", "admin", "")
Set G_Database = OpenDatabase(Name:=G_DatabaseName, ReadOnly:=True)
(code to query Database)
(Code to close database & Recordset)
This returns error 3031 Invalid password,
Any info would be appreciated,
Excel VBA.
I've been using the following code to open nonm password protected
database with out an issue. Is there an additional perameter that I
need to add?
Here is the partial code:
Set G_Workspace = DBEngine.CreateWorkspace("", "admin", "")
Set G_Database = OpenDatabase(Name:=G_DatabaseName, ReadOnly:=True)
(code to query Database)
(Code to close database & Recordset)
This returns error 3031 Invalid password,
Any info would be appreciated,