DATABASE PASSWORD

P

PARWAZE

Getting difficulty to open a password protected database from another Access
file via VBA. Please help
 
A

Alex Dybenko

try like this:

Set dbs = DBEngine.OpenDatabase("C:\my.mdb", False, False,
";pwd=mypassword")
 
Top