DATABASE PASSWORD

G

Guest

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")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top