I need to connect to a password protected Access database through Excel.
Everything I've found while searching seems to imply that this is a bug that Microsoft has not fixed. Is this true? The string I am using is
The error I get is "Not a valid password".
Any suggestions?
Everything I've found while searching seems to imply that this is a bug that Microsoft has not fixed. Is this true? The string I am using is
Code:
[noparse]Dim cnt as New ADODB.Connection Dim rst As New ADODB.Recordset ' cnt.Open "Provider=Microsoft.Ace.OLEDB.12.0;" & _ "Jet OLEDB:Database Password=pw;"Data Source='MyDB.db'"[/noparse]
Any suggestions?
Comment